Good afternoon experts,

I need your input regarding a situation like this:

Suppose there's a code that spawns a process (invoke the Console
window) like this:

System.Diagnostics.Process bob = new System.Diagnostics.Process();
bob.StartInfo.UseShellExecute = true;
bob.StartInfo.Arguments += " /K TITLE Command Prompt";
bob.StartInfo.FileName = "CMD";
bob.Start();

And then, I deliberately close the main app that has the code above,
what will
happen to the process? Will it produce a memory leak?




Benj

Reply via email to