diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-09-11 11:21:36 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-09-11 11:21:36 -0400 |
commit | f262298bb037b683c995f239d1ca9fc00aaec3f3 (patch) | |
tree | 5144068cbd9df6d0c99139f227392aa5e005770e /Source/cmSystemTools.h | |
parent | 4835f8303b4bf9c729b00f0b3aedca6f229b2d2f (diff) | |
download | cmake-f262298bb037b683c995f239d1ca9fc00aaec3f3.tar.gz |
ENH: fix 2 ctest issues, do not use the build type of ctest to look for config types, do not inherit pipes in child procs for ctest so it can kill them
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 0cba39c02c..ed95bdf882 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -339,6 +339,12 @@ public: static bool ExtractTar(const char* inFileName, const std::vector<cmStdString>& files, bool gzip, bool verbose); + // This should be called first thing in main + // it will keep child processes from inheriting the + // stdin and stdout of this process. This is important + // if you want to be able to kill child processes and + // not get stuck waiting for all the output on the pipes. + static void DoNotInheritStdPipes(); private: static bool s_ForceUnixPaths; static bool s_RunCommandHideConsole; |