PDA

Click to See Complete Forum and Search --> : Keeping cmd window displayed after runing System.Diagnostics.Process.Start("cmd.exe",


tutus
Jan 11th, 2007, 09:40 PM
Hi I run the gacutil cmd in a C# project using

System.Diagnostics.Process.Start("cmd.exe", " gacutil commad string here");But I want my cmd prompt black window to stay displayed in order to see the results of my code while it s runing or whie the gacutil command finishes runing.

If that s not possibke, how do i get the result whether my cmd succeded or not.

Thanks a lot.

popskie
Jan 12th, 2007, 12:19 AM
Just try this ... System.Console.ReadLine();