Re: What do you guys use instead of backticks?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: What do you guys use instead of backticks?
- From: steve donovan <steve.j.donovan@...>
- Date: 2011年1月23日 13:35:55 +0200
On Sun, Jan 23, 2011 at 1:18 PM, Gunnar Zötl <gz@tset.de> wrote:
> Io.popen works well most of the time, lpty for the notoric cases.
A deficiency of Lua 5.1 popen is that there was no direct way to get
the return code of the process; in 5.2, p.close() does return this.
lpty is fantastic if you need to capture an _interactive_ process
(like GDB) - only POSIX, however.
steve d.