[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [Lua5.1] popen and exit code
- From: steve donovan <steve.j.donovan@...>
- Date: Fri, 6 Jan 2012 18:02:55 +0200
On Fri, Jan 6, 2012 at 5:56 PM, jseb <gmane2010@finiderire.com> wrote:
> I'd like to get exit code from shell commands executed with «popen».
> According to this, it's possible:
> http://www.luafaq.org/#T8.2.8
I'm sorry, it should be more clear: that section refers to Lua 5.2 specifically.
It remains a slightly tricky problem with Lua 5.1, which can be solved
non-portably using shell tricks
steve d.