Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.Diagnostics.ProcessStartInfo start =
- new System.Diagnostics.ProcessStartInfo();
- start.FileName = dir + @"Myprocesstostart.exe";
- start.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
- [DllImport("kernel32.dll")]
- static extern bool FreeConsole();
- yourprocess.StartInfo.UseShellExecute = false;
- yourprocess.StartInfo.CreateNoWindow = true;
Add Comment
Please, Sign In to add comment