[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Win32 os.popen and os.execute substitutes
- From: "Steve Donovan" <sjdonova@...>
- Date: Wed, 30 Jun 2004 11:29:56 +0200
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.
It's been tested in SciTE and works very nicely.
At least this is a genuinely new topic ;)
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.