summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-19 18:40:03 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-19 18:40:03 (GMT)
commit4027cfbb2dc654f2501301fad1a36ceaef266f95 (patch)
treed13f8bc6eac88bf42023b82b0cc9310d6f062c56 /Source
parentb17cfc7584c0641a7b0dd3f0201f738873bcb6b0 (diff)
downloadCMake-4027cfbb2dc654f2501301fad1a36ceaef266f95.zip
CMake-4027cfbb2dc654f2501301fad1a36ceaef266f95.tar.gz
CMake-4027cfbb2dc654f2501301fad1a36ceaef266f95.tar.bz2
Supress standard error when running command
Diffstat (limited to 'Source')
-rw-r--r--Source/cmSystemTools.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 1ffd4f7..08b414d 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1392,6 +1392,7 @@ bool cmSystemTools::RunCommand(const char* command,
{
commandInDir = command;
}
+ commandInDir += " 2>&1";
command = commandInDir.c_str();
const int BUFFER_SIZE = 4096;
char buffer[BUFFER_SIZE];