C# Class AcManager.Tools.Helpers.ChildProcessTracker

Afficher le fichier Open project: gro-ove/actools

Méthodes publiques

Méthode Description
AddProcess ( Process process ) : void

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.

Private Methods

Méthode Description
AssignProcessToJobObject ( IntPtr job, IntPtr process ) : bool
ChildProcessTracker ( ) : System
CreateJobObject ( IntPtr lpJobAttributes, string name ) : IntPtr
SetInformationJobObject ( IntPtr job, JobObjectInfoType infoType, IntPtr lpJobObjectInfo, uint cbJobObjectInfoLength ) : bool

Method Details

AddProcess() public static méthode

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.
public static AddProcess ( Process process ) : void
process System.Diagnostics.Process
Résultat void