Skip to content
Snippets Groups Projects
Commit 7c20cdff authored by Brad King's avatar Brad King
Browse files

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

parent e5b6fc46
No related branches found
No related tags found
No related merge requests found
...@@ -673,7 +673,8 @@ void kwsysProcess_Execute(kwsysProcess* cp) ...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment