The final answer is
ProcessStartInfo psi = new ProcessStartInfo();
psi.FileName = ....
psi.RedirectStandardInput = true;
psi.RedirectStandardOutput = false;
psi.Arguments =...
psi.UseShellExecute = false;
psi.CreateNoWindow = true; // <- key line
More Related Contents:
- How to get parent process in .NET in managed way
- Executing Batch File in C#
- How to spawn a process and capture its STDOUT in .NET? [duplicate]
- How do I get output from a command to appear in a control on a Form in real-time?
- .NET Process Monitor
- How can I know if a process is running?
- Wait until a process ends
- Hide console window from Process.Start C#
- .NET Events for Process executable start
- How do I send ctrl+c to a process in c#?
- Open file with associated application
- How do I kill a process using Vb.NET or C#?
- How do you de-elevate privileges for a child process
- How can a Windows Service start a process when a Timer event is raised?
- Using Process.Start() to start a process as a different user from within a Windows Service
- .NET – WindowStyle = hidden vs. CreateNoWindow = true?
- Kill some processes by .exe file name
- C# – Making a Process.Start wait until the process has start-up
- Start new process, without being a child of the spawning process
- How to read to end process output asynchronously in C#?
- Launching process in C# Without Distracting Console Window
- How to asynchronously read the standard output stream and standard error stream at once
- Get window state of another process
- Foo.cmd won’t output lines in process (on website)
- C# get process output while running
- Service starting a process wont show GUI C#
- How to hide cmd window while running a batch file?
- How to I get the window handle by giving the process name that is running?
- Monitor child processes of a process
- Why does StandardOutput.Read() block when StartInfo.RedirectStandardInput is set to true?