[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: pipe to a pubprocess, or tmpfile
- From: Martin Voigt <voigt.m@...>
- Date: Wed, 8 Sep 2010 16:36:31 +0200
Btw, thanks for that particular bit of information. I didn't know that
;) We are now evaluating moving to 5.2, because [after looking into
it] of the new io.popen behaviour and the module handling. Without
that bit we'd have never considered it.
On 7 September 2010 11:00, steve donovan <firstname.lastname@example.org> wrote:
> On Tue, Sep 7, 2010 at 9:32 AM, Martin Voigt <email@example.com> wrote:
>> I'm having similar problems and tried io.popen. Problem is, popen
>> doesn't give you the return value of the command you ran.
> The good news is that closing the handle from io.popen in Lua 5.2 does
> give you the return code.
> Yes, I've jumped through those hoops as well - there was a thread some
> time back on that. Hard to do it in a portable fashion.
> steve d.