https://github.com/MKamelll/pat
Can I start a process 'std.process.spawnProcess' with a different process group id other than the parent id?
Mina via Digitalmars-d-learn Thu, 17 Nov 2022 15:08:39 -0800
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.