ENH: Hide windows for processes run by RunSingleCommand.

This commit is contained in:
Brad King 2003-08-06 13:48:14 -04:00
parent 7b9663e5e8
commit 999810bc52

View File

@ -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);