Posted on Leave a comment

Console c# without window

[code language=”java”]
Process pr = new Process();
pr.StartInfo.FileName = "";
pr.StartInfo.Arguments = "-r";
pr.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
pr.Start();
pr.WaitForExit();
[/code]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.