To answer my own question - this is one working possibility using
boost::process::extend...
#include
Hi,
I'm trying to use Boost 1.65.1's boost::process::child in a Windows console program.
At the moment, the child process is launched in the same console window as the parent.
Is there an option to make a new console window for the child?
The pre-boost-incorporation version of boost::process seemed to allow manipulation of the startupInfo struct directly (e.g. https://stackoverflow.com/questions/43582022/boostprocess-hide-console-on-wi...) and then a win32_launch call. But this seems to have been removed now?
Any tips gratefully received.
Thanks,
Chris.
participants (1)
-
Chris Rodgers