lua-users home
lua-l archive

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


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.