diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-04-24 15:44:42 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-04-24 15:44:42 (GMT) |
commit | ae95f656f3bfda21027c2e7f8095ca54f820e03e (patch) | |
tree | d093c8ff86bf6074cc3febe21a7766f11161d2b0 /Source/cmSystemTools.cxx | |
parent | 034d7db9f19d3ae9851229d4d0a24cd8d96c9671 (diff) | |
download | CMake-ae95f656f3bfda21027c2e7f8095ca54f820e03e.zip CMake-ae95f656f3bfda21027c2e7f8095ca54f820e03e.tar.gz CMake-ae95f656f3bfda21027c2e7f8095ca54f820e03e.tar.bz2 |
ENH: vms fix
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 959d32c..91c6df7 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -898,7 +898,9 @@ bool RunCommandViaPopen(const char* command, { commandInDir = command; } +#ifndef __VMS commandInDir += " 2>&1"; +#endif command = commandInDir.c_str(); const int BUFFER_SIZE = 4096; char buffer[BUFFER_SIZE]; |