How can I get rid of the console window? I have the ProcessStartInfo as below
var processStartInfo = new ProcessStartInfo()
{
FileName = Path.Combine(path, "Hi.exe");,
WindowStyle = ProcessWindowStyle.Hidden,
UseShellExecute = false,
CreateNoWindow = true,
RedirectStandardInput = true,
};
Process.Start(processStartInfo).StandardInput.WriteLine(argHandlerArgs);