I am using boost::process
v. 1.65.1 in a master application for Linux to create few boost::process::child
objects and manage data exchanged via boost::process::std_in
and boost::process::std_out
i.e. pipes.
When my master application receives a CTRL-C sent by console, I see that the child as well do receive a CTRL-C signal.
To terminate my child I'd prefer to send a clear command via pipe, but when I do this the signal has been propagated already. Actually Some child sees the command other do not and see the signal.
- Is this signal propagation the normal behavior?
- What I can do to prevent this to happen so that I can issue my command via pipe without interference?