Boost logo

Boost :

Subject: Re: [boost] [gsoc] Boost.Process done
From: Boris Schaeling (boris_at_[hidden])
Date: 2010-08-21 18:13:05


On Thu, 19 Aug 2010 23:05:15 +0200, Ilya Sokolov <ilyasokol_at_[hidden]>
wrote:

> boost::process::shell must do signal handling. See [1] and [2].
> On windows SetConsoleCtrlHandler() could be used for the same effect.
>
> [1] 10.18 system Function
> W. Richard Stevens, Stephen A. Rago.
> Advanced Programming in the UNIX® Environment, Second Edition
> http://www.apuebook.com/
>
> [2] Specification of the system() function.
> http://www.opengroup.org/onlinepubs/000095399/functions/system.html

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? After
all boost::process::shell() should not be a replacement for system()?

Boris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk