Ignore:
Timestamp:
Feb 26, 2013, 2:35:45 PM (11 years ago)
Author:
touze
Message:

nvx element snapshot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/controler/src/abstractSoftware.cc

    r316 r342  
    66  globParamPtr_ = NULL;
    77  dataManager_ = NULL;
    8 
    98}
    109
     
    1817bool abstractSoftware::launchJob(string commandLine, string& resul)
    1918{
     19  bool ExecuteStatus = true;
     20
     21  FILE* pp = popen(commandLine.c_str(), "r");
    2022  ostringstream sortie;
    21   bool ExecuteStatus = true;
    22   FILE* pp = popen(commandLine.c_str(), "r");
    2323  if (pp == NULL) {
    2424    sortie << " launching  failed : " << commandLine << endl;
    2525    ExecuteStatus = false;
    26   }
    27   else {
    28     cout << " executind command :  "  << commandLine << endl;
     26  } else {
     27    cout << " executing command :  "  << commandLine << endl;
    2928    // on copie la sortie dans le fichier assigne
    3029    char buf[132];
Note: See TracChangeset for help on using the changeset viewer.