lua-users home
lua-l archive

Re: popen read and write?

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


2007年10月8日, Michal Kolodziejczyk <miko@wp.pl>:
> I can see that popen() can be used either to read or to write data
> from/to the process. Is there any hope it would be able to read and
> write data at the same time?
> How do you use lua when trying do write and read to/from the same
> process? (under linux if this matters)
You can do that with the ex library:
- http://lua-users.org/lists/lua-l/2007-02/msg00328.html
- http://lua-users.org/wiki/ExtensionProposal

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