public void AbortProcess() { ProcessManager executerManager = new ProcessManager(); // Create container String ProcessID = Guid.NewGuid().ToString(); executerManager.OnProcessExit = OnExitCallbackFunction; executerManager.RunExec(ProcessID, "TEST_MANAGEMED_APP.exe", "task1", "", OnProcessCallBack, @"D:\STORE_EXEC\TEST_MANAGEMED_APP"); Thread.Sleep(6000); executerManager.Abort(ProcessID); executerManager.WaitAll(); }