Browse Source

Supress standard error when running command

Andy Cedilnik 23 years ago
parent
commit
4027cfbb2d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/cmSystemTools.cxx

+ 1 - 0
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];