I've spawned a process, but when it finishes, which is very quickly, the console disappears. How can I make the console persist in a non-console based program?
Code:Process proc=new Process(); proc.StartInfo=new ProcessStartInfo(FileName,Args); proc.Start();