BUG: Don't show a console application's window.
This commit is contained in:
parent
6e23bcb50f
commit
68a9683d0d
@ -673,7 +673,8 @@ void kwsysProcess_Execute(kwsysProcess* cp)
|
|||||||
cp->TimeoutTime = kwsysProcessTimeFromDouble(-1);
|
cp->TimeoutTime = kwsysProcessTimeFromDouble(-1);
|
||||||
|
|
||||||
/* CREATE THE CHILD PROCESS */
|
/* 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))
|
0, &si, &cp->ProcessInformation))
|
||||||
{
|
{
|
||||||
kwsysProcessCleanup(cp, 1);
|
kwsysProcessCleanup(cp, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user