X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FLocal%2FBatch_BatchManager_Local.cxx;h=e33cb65dbb22e39e2375e685c5ef76d8b2995f1c;hb=acb12fa529115c82e52d0b1b8f13c0768a913911;hp=c7d3f60d0f857065feee0ac6a341f8d4bd9f45c2;hpb=5717cbf099c923242b097b9b63dba3bea5f13160;p=tools%2Flibbatch.git diff --git a/src/Local/Batch_BatchManager_Local.cxx b/src/Local/Batch_BatchManager_Local.cxx index c7d3f60..e33cb65 100644 --- a/src/Local/Batch_BatchManager_Local.cxx +++ b/src/Local/Batch_BatchManager_Local.cxx @@ -549,7 +549,7 @@ namespace Batch { while (1) { #ifdef WIN32 DWORD exitCode; - BOOL res = GetExitCodeProcess(child, &exitCode); + GetExitCodeProcess(child, &exitCode); if (exitCode != STILL_ACTIVE) { UNDER_LOCK( cout << "Father sees his child is DONE: exit code = " << exitCode << endl ); break; @@ -881,7 +881,7 @@ namespace Batch { char * buffer = strdup(comstr.c_str()); // launch the new process - BOOL res = CreateProcess(NULL, buffer, NULL, NULL, FALSE, + bool res = CreateProcess(NULL, buffer, NULL, NULL, FALSE, CREATE_NO_WINDOW, chNewEnv, NULL, &si, &pi); if (buffer) free(buffer);