Keeping cmd window displayed after runing System.Diagnostics.Process.Start("cmd.exe",
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.
Re: Keeping cmd window displayed after runing System.Diagnostics.Process.Start("cmd.exe",
Just try this ... System.Console.ReadLine();