Closed chriso closed 5 months ago
This PR ensures we kill the child process if the CLI exits with an unexpected error.
Pdeathsig helps on Linux, but it isn't available elsewhere, e.g. macOS.
Pdeathsig
I've reworked how we create background goroutines so that if a panic occurs we manually kill the child process.
This PR ensures we kill the child process if the CLI exits with an unexpected error.
Pdeathsig
helps on Linux, but it isn't available elsewhere, e.g. macOS.I've reworked how we create background goroutines so that if a panic occurs we manually kill the child process.