|
try |
|
{ |
|
// TODO: Review exceptions that can be thrown here. |
|
_process.Kill(entireProcessTree); |
|
} |
|
catch (InvalidOperationException) |
|
{ |
|
// The process is already gone. |
|
} |
https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.process.kill#system-diagnostics-process-kill(system-boolean)
I suspect the documentation here may not match the current Process implementation...
cathode/src/core/Processes/ChildProcess.cs
Lines 172 to 180 in 69f1c65
https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.process.kill#system-diagnostics-process-kill(system-boolean)
I suspect the documentation here may not match the current
Processimplementation...