Doing my research, the only option I see is by using 'setpgid' from 'core.sys.posix.unistd'
and setting the foreground process using 'tcsetpgrp' from the same module, but I don't know how to go about doing that with the 'std.process.spawnProcess', I'm writing a shell and the purpose of this is to only kill the child process in case of the SIGINT signal.
November 17, 2022 Can I start a process 'std.process.spawnProcess' with a different process group id other than the parent id? | ||||
---|---|---|---|---|
| ||||
Copyright © 1999-2021 by the D Language Foundation