S
Steve Brecher
Framework 1.1:
ProcessStartInfo psi = new ProcessStartInfo(@".\appdir\aConsoleApp.exe");
psi.WorkingDirectory = @".\appdir";
psi.WindowStyle = ProcessWindowStyle.Minimized;
psi.UseShellExecute = false;
Process.Start(psi);
It works fine except that the started app's console window is normal -- not
minimized. Why?
ProcessStartInfo psi = new ProcessStartInfo(@".\appdir\aConsoleApp.exe");
psi.WorkingDirectory = @".\appdir";
psi.WindowStyle = ProcessWindowStyle.Minimized;
psi.UseShellExecute = false;
Process.Start(psi);
It works fine except that the started app's console window is normal -- not
minimized. Why?