Subject: Re: [boost] [gsoc] Boost.Process done
From: Boris Schaeling (boris_at_[hidden])
Date: 2010-08-23 15:24:17
On Mon, 23 Aug 2010 13:34:05 +0200, Ilya Sokolov <ilyasokol_at_[hidden]>
> On 22.08.2010 2:13, Boris Schaeling wrote:
>> I read the specification but I'm not sure why it applies to
>> boost::proces::shell(). For example boost::process::shell() does not
>> wait for the child process to exit - why should SIGINT then be ignored?
> Ignore SIGINT until wait() is called.
>> After all boost::process::shell() should not be a replacement for
> Then what is the purpose of boost::process::shell()?
Let's say you want the list of files in the current work directory. While
system("dir") will execute the command it is obviously useless. With
boost::process::shell("dir") you can read the list of files through a
stream though. In a way boost::process::shell() is nothing more than a
convenient shortcut for boost::process::create_child("cmd.exe"...).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk