X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FCore%2FBatch_CommunicationProtocol.cxx;h=8a3ef6ada2b5c7591028c54e8208c5305b1ba94a;hb=f9cfa27307e650551fd1f69d616cdec5f9ff2efd;hp=82f5b4f566bc74188a78e4b0fbdeda7962715a10;hpb=8ff6c6dfe56422e4be5f08b325a5572cdfeb1770;p=tools%2Flibbatch.git diff --git a/src/Core/Batch_CommunicationProtocol.cxx b/src/Core/Batch_CommunicationProtocol.cxx index 82f5b4f..8a3ef6a 100644 --- a/src/Core/Batch_CommunicationProtocol.cxx +++ b/src/Core/Batch_CommunicationProtocol.cxx @@ -151,11 +151,7 @@ namespace Batch { // if the argument contains spaces, we surround it with simple quotes (Linux) // or double quotes (Windows) if (commandArgs[i].find(' ') != string::npos) { -#ifdef WIN32 commandStr += string("\"") + commandArgs[i] + "\""; -#else - commandStr += string("\'") + commandArgs[i] + "\'"; -#endif } else { commandStr += commandArgs[i]; }