关于[Clean cross-platform process shutdown for dotnet]的摘要:
While developing dotnet-evergreen,I needed to figure out a way to cleanly terminate a process in a cross-platformway without resorting to a (somewhat violent) Process.Kill.In Ubuntu/macOS this was trivial and worked nicely by just running kill -s SIGINT [ProcessId]as a new process, as documented on ...