KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I start a Console Application via ProcessStartInfo and process.Start(). I want to hide the black window. Here's my code: string output = ""; //Setup the Process with the ProcessStartInfo class ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = "C:\\WINNT\\system32\\cmd.exe"; startInfo.UseShellExecute = false; startInfo.RedirectStandardOutput = true; //Start the process Process proc = Process.Start(startInfo);
Tags (comma-separated)
Save Edits
Cancel