upvote
> It's actually a major nuisance because sometimes you do want to pass the signals through, e.g. to implement termination of all transitive children processes, process groups notwithstanding, so then you have to do it yourself.

Yes, I would prefer some form of structured concurrency or even just better defaults. Plan9 does it a bit better with rfork and having note groups be its own thing.

> The subshell way is somewhat more robust

Oh it totally is, just trying to illustrate that technically the subshell isn't necessary

reply