diff options
author | Brad King <brad.king@kitware.com> | 2003-08-06 17:48:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-08-06 17:48:14 (GMT) |
commit | 999810bc52f14db67cc7c51ef770c2d081b01cbd (patch) | |
tree | 14cb7e6e08d5d5b9a49947a3c4bd559886b0f970 /Source/cmSystemTools.cxx | |
parent | 7b9663e5e8ea068781f666b3731b0395de6c5b6e (diff) | |
download | CMake-999810bc52f14db67cc7c51ef770c2d081b01cbd.zip CMake-999810bc52f14db67cc7c51ef770c2d081b01cbd.tar.gz CMake-999810bc52f14db67cc7c51ef770c2d081b01cbd.tar.bz2 |
ENH: Hide windows for processes run by RunSingleCommand.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 6c94027..c8797d6 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -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); |