Any way to keep an external command window open during a Process.Start(..)?
I've seen this post before but those solutions don't work for me for some reason. With Process.Start(), How can I keep cmd prompt open when the /K argument doesn't work? There's also no "WaitForExit" method available.
ProcessStartInfo processInfo = new ProcessStartInfo("cmd.exe", "/K " + "C:\\Windows\\System32\\" + "takeown.exe"); processInfo.Verb = "runas"; processInfo.Arguments = "/F \"C:\\Program Files(x86)\\Borland\" /R /D Y"; Process.Start(processInfo);
What I want to see is if the process processed successfully.