WindowsJobAPI
Channel |
Status |
CI |
|
NuGet.org |
|
Usage
var process = new Process
{
StartInfo =
{
UseShellExecute = true,
FileName = @"cmd"
}
};
process.Start();
var job = new JobObject();
job.AddProcess(process);
//job.AddProcess(process.SafeHandle);
//job.AddProcess(process.Id);
job.Dispose();