如何摆脱控制台窗口?我有如下所示的ProcessStartInfo
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);