The following code hangs in the call to WaitForExit at the end. It terminates cleanly if I remove the 1 second long sleep. Could someone please tell me what to do so the process would die shortly after I call Kill() on it? Many thanks.The following code hangs in the call to WaitFor