]> Creatis software - bbtk.git/commitdiff
#2871 BBTK Bug New Normal Windows - ExecSystemCommand not blocking
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 4 Mar 2016 14:55:34 +0000 (15:55 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 4 Mar 2016 14:55:34 +0000 (15:55 +0100)
packages/std/src/bbstdExecSystemCommand.cxx
packages/std/src/bbstdReadColumnsString.cxx

index f319e374d8ec036d1c03ae7bf91efedb7e175f3e..63beb0c99eb947c43fe20cfddf75de534b9caf7a 100755 (executable)
@@ -77,9 +77,9 @@ namespace bbstd
                  ccommand[i]=34;
         }
       }
-      #if defined(_WIN32)
-           ccommand="start /b "+ccommand;
-      #endif // defined(_WIN32)        
+//      #if defined(_WIN32)
+//         ccommand="start /b "+ccommand;
+//      #endif // defined(_WIN32)      
          std::cout << "*** Executing system command : '"<<ccommand<<"'"<<std::endl;
          
          result = system ( ccommand.c_str() );
index afcd636ac19ec6afaa37115cfe629624771fbd22..d56e658466dcb0c4a4baba44afb940077245af17 100644 (file)
@@ -44,17 +44,12 @@ BBTK_BLACK_BOX_IMPLEMENTATION(ReadColumnsString,bbtk::AtomicBlackBox);
 //===== 
 void ReadColumnsString::Process()
 {
-
-       printf("EED ReadColumnsString::Process start \n");
-       
-       std::vector< std::vector<std::string> * > tlst;
-       
+       std::vector< std::vector<std::string> * > tlst; 
        int i;
        for( i=0 ;  i<bbGetInputDimension() ; i++)
        {
                tlst.push_back( new std::vector<std::string> );
        }       
-       
        int iSkipLines;
        int numberOfLines = 0;
        char tmpValue[500];
@@ -94,8 +89,6 @@ void ReadColumnsString::Process()
        i=8; if (i<=bbGetInputDimension()) { bbSetOutputlstData8( *(tlst[i-1]) ); }
        i=9; if (i<=bbGetInputDimension()) { bbSetOutputlstData9( *(tlst[i-1]) ); }
        
-       printf("EED ReadColumnsString::Process end \n");
-       
 }
 //===== 
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)