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

.NET ProgrammingC#

Avatar of undefined
Last Comment
HarryNS

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
udaya kumar laligondla

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
HarryNS

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23