lua-users home
lua-l archive

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

On Sun, Jan 23, 2011 at 1:18 PM, Gunnar Zötl <> 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.