Link to home
Create AccountLog in
Avatar of ARACK04
ARACK04

asked on

run process

I'm trying to use the code below to run something on the command line.  How would I go about changing this code to cause the actual command window to stay open, and visible so I can actually see what's going on?


System.Diagnostics.Process psi = new System.Diagnostics.Process();
				psi.StartInfo.FileName = "cmd.exe";
				psi.StartInfo.Arguments = strArgument;

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of udaya kumar laligondla
udaya kumar laligondla
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.