Gripper.WebClient
Gripper.WebClient.Runtime
ChildProcessTracker Class
Automatically kills all registered processes if the parent unexpectedly exits.
This feature requires Windows 8 or greater. On Windows 7, nothing is done.
public class ChildProcessTracker :
Gripper.WebClient.Runtime.IChildProcessTracker
Inheritance System.Object 🡒 ChildProcessTracker
Implements IChildProcessTracker
Remarks
References:
https://stackoverflow.com/a/4657392/386091,
https://stackoverflow.com/a/9164742/386091
Methods | Â |
---|---|
AddProcess(Process) | Add the process to be tracked. If our current process is killed, the child processes that we are tracking will be automatically killed, too. If the child process terminates first, that’s fine, too. |