[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: External program output and result
- From: "Jerome Vuarand" <jerome.vuarand@...>
- Date: Wed, 22 Oct 2008 17:36:41 +0200
2008/10/22 Enrico Colombini <email@example.com>:
> I can launch an external program with os.execute() and get its result.
> I can launch it with io.popen() and get its output.
> Is there a pure-Lua way to get both output and result?
> (without resorting to an intermediate file, I mean)
> I'm working on Windows, so the shell is quite limited.
You can't do that in pure Lua. You can do that with the lua-ex binary
module. Manual and link to the sources can be found there: