Would it be possible to add support for process creation flags on Windows, like this?
(In my current use case I'd like to pass the flag CREATE_NEW_PROCESS_GROUP so that my child processes don't get killed by Ctrl-C, because I use the ctrlc crate to catch the signal and want to do graceful termination, and that requires that the child processes aren't forcefully killed. Which currently happens because by default they are in the same process group as the parent.)
Would it be possible to add support for process creation flags on Windows, like this?
(In my current use case I'd like to pass the flag
CREATE_NEW_PROCESS_GROUP
so that my child processes don't get killed by Ctrl-C, because I use thectrlc
crate to catch the signal and want to do graceful termination, and that requires that the child processes aren't forcefully killed. Which currently happens because by default they are in the same process group as the parent.)