lua-users home
lua-l archive

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


Seeing that popen() is so very useful for ordinary Lua scripting
use,  would this not complicate people's lives unnecessarily?  If it's
just a question of keeping track of who allocated the file handle,
that does not seem difficult to do.

Also, reasonable win32 implementations of popen() exist, but
they wouldn't fit into a lposix 'clone', unless that was a big beast
like cygwin.

steve d.

>>> lhf@tecgraf.puc-rio.br 08/02/04 04:29PM >>>
This has been reported before, but not citing the POSIX standard that
it's not legal to call pclose() on a file that wasn't allocated 
with popen(). Thanks for the reference.

I think this makes it clear that pipes should be moved out of liolib to
lposix.
--lhf

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.