lua-users home
lua-l archive

Re: can i both write & read a pipe?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> To do a bidirectional pipe, you'll need to write a C function using pipe(),
> fork(), dup2(), and execvp(). Then submit the result to lhf for inclusion
> into lposix?
Please do. The next version of lposix will bind all those POSIX functions,
so you could do it all in Lua.
--lhf

AltStyle によって変換されたページ (->オリジナル) /