المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Process.Kill() problem



C# Programming
05-07-2009, 01:10 AM
I have a simple application timer program - allows any executable to launched, with command line arguments (optional) and terminates after specified number of minutes.

Here's how I'm currently terminating timed process:

while (true)
{
//keep checking if timer expired or app closed externally (ie. by user)
if (dtEndTime