std.ps.pipe_file

std.ps

pipe_file() -> pipe, err

Create a FILE*-based pipe compatible with io.* functions

Creates a pipe using Lua FILE* objects instead of raw file descriptors. Returns a table with read and write methods compatible with io.* functions.