-
Loïc Dachary authored
The goroutine tasked with killing the child process when the context is canceled must not panic on error. Instead it must provide a channel to allow the goroutine that launched it to collect the error. And this goroutine can then panic with the error, knowing it will be caught upper in the stack and handled gracefully instead of aborting the entire process.
a9603c7c