diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-19 18:40:03 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-19 18:40:03 (GMT) |
commit | 4027cfbb2dc654f2501301fad1a36ceaef266f95 (patch) | |
tree | d13f8bc6eac88bf42023b82b0cc9310d6f062c56 | |
parent | b17cfc7584c0641a7b0dd3f0201f738873bcb6b0 (diff) | |
download | CMake-4027cfbb2dc654f2501301fad1a36ceaef266f95.zip CMake-4027cfbb2dc654f2501301fad1a36ceaef266f95.tar.gz CMake-4027cfbb2dc654f2501301fad1a36ceaef266f95.tar.bz2 |
Supress standard error when running command
-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 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]; |