ENH: Hide windows for processes run by RunSingleCommand.
This commit is contained in:
parent
7b9663e5e8
commit
999810bc52
|
@ -386,6 +386,7 @@ bool cmSystemTools::RunSingleCommand(
|
|||
cmsysProcess* cp = cmsysProcess_New();
|
||||
cmsysProcess_SetCommand(cp, &*argv.begin());
|
||||
cmsysProcess_SetWorkingDirectory(cp, dir);
|
||||
cmsysProcess_SetOption(cp, cmsysProcess_Option_HideWindow, 1);
|
||||
cmsysProcess_SetTimeout(cp, timeout);
|
||||
cmsysProcess_Execute(cp);
|
||||
|
||||
|
|
Loading…
Reference in New Issue