BUG: Don't show a console application's window.

This commit is contained in:
Brad King 2003-06-10 16:15:16 -04:00
parent 6e23bcb50f
commit 68a9683d0d
1 changed files with 2 additions and 1 deletions

View File

@ -673,7 +673,8 @@ void kwsysProcess_Execute(kwsysProcess* cp)
cp->TimeoutTime = kwsysProcessTimeFromDouble(-1);
/* CREATE THE CHILD PROCESS */
if(!CreateProcess(0, cp->RealCommand, 0, 0, TRUE, CREATE_NEW_CONSOLE, 0,
if(!CreateProcess(0, cp->RealCommand, 0, 0, TRUE,
cp->Win9x? CREATE_NEW_CONSOLE:DETACHED_PROCESS, 0,
0, &si, &cp->ProcessInformation))
{
kwsysProcessCleanup(cp, 1);