ENH: vms fix

This commit is contained in:
Bill Hoffman 2009-04-24 11:44:42 -04:00
parent 034d7db9f1
commit ae95f656f3

View File

@ -898,7 +898,9 @@ bool RunCommandViaPopen(const char* command,
{ {
commandInDir = command; commandInDir = command;
} }
#ifndef __VMS
commandInDir += " 2>&1"; commandInDir += " 2>&1";
#endif
command = commandInDir.c_str(); command = commandInDir.c_str();
const int BUFFER_SIZE = 4096; const int BUFFER_SIZE = 4096;
char buffer[BUFFER_SIZE]; char buffer[BUFFER_SIZE];