lua-users home
lua-l archive

Win32 os.popen and os.execute substitutes

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


Hi all,
I've found the following patch to be very useful in Win32 programs
with embedded Lua; it replaces os.execute with a version that
doesn't create the dreaded black box, and provides a version
of os.popen that works in GUI programs (_popen _only_ works
in console apps!) About 100 extra lines.
http://home.mweb.co.za/sd/sdonovan/popen.zip 
It's been tested in SciTE and works very nicely.
At least this is a genuinely new topic ;)
steve d.
-- 
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.

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