[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: io.popen read and write, again
- From: Petite Abeille <petite.abeille@...>
- Date: Wed, 26 Feb 2014 19:26:08 +0100
On Feb 25, 2014, at 10:45 PM, Sean Conner <email@example.com> wrote:
> Ideally, you want to actually construct the pipe yourself so you can grab
> the return code from the initial process. Yes, this means calling pipe()
> and fork() and wait() and the mess that entails, but that way, you get total
> control over the results.
m’kay… sadly, the context for this concoction is far from ideal (no C, no modules, no nothing, just plain lua shell)… oh, well… will do with plain 'set -o pipefail;’...