[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Feature request for 5.2; make exit codes from popen()ed programs obtainable
- From: Patrick Donnelly <batrick@...>
- Date: Tue, 1 Sep 2009 21:17:03 -0400
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