lua-users home
lua-l archive

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


On Tue, Sep 1, 2009 at 9:16 PM, Patrick Donnelly<batrick@batbytes.com> wrote:
> This has been discussed [1]. There were some hacks proposed for
> obtaining the status code in that thread. It would be nice if popen
> returned the status code. I feel it should be a second argument,
> however, because popen may fail early with "nil, <failure string>".

Knew I forgot something...

[1] http://lua-users.org/lists/lua-l/2009-06/msg00124.html

-- 
-Patrick Donnelly

"Let all men know thee, but no man know thee thoroughly: Men freely
ford that see the shallows."

- Benjamin Franklin