supporting more general signal propagation, beyond delegate_ctrlc
When create_group is used, the process, being in its own group, does not receive signals that are sent to the foreground process group. I believe (but have not verified) that delegate_ctrlc could be used in this situation to at least get the child process to cleanly shut down on ctrl-c. But there are other signals equally important, including SIGTSTP (ctrl-z), SIGWINCH, SIGHUP, SIGQUIT, and SIGTERM.
The interface of process does not help propagating any of those, and there's no portable way to handle it that will work across unix and windows.
So, I suggest adding something like interruptProcessGroupOf that allows sending other signals than SIGINT. The user can then use https://github.com/pmlodawski/signal to portably install a signal handler that propagates signals to whatever child processes it has run this way.
This might also address https://github.com/haskell/process/issues/68, although it would be without the nice delegation interface. I think it may make more sense to not have special stuff in this library to delegate every signal, but just give the users the tools they need to build whatever signal propagation they desire.
My use case is that I want to handle ctrlc in main thread only (as it does some cleanup) and then let main thread shut down processes.
Currently using create_group = True, but ideally I would just be able to install signal handlers myself.