]> Creatis software - bbtk.git/blobdiff - packages/std/src/bbstdExecBbiCommand.cxx
*** empty log message ***
[bbtk.git] / packages / std / src / bbstdExecBbiCommand.cxx
index ae427d5bf595f549bb0991464e11b0b8983d1b67..c52598db56ac542e2d0de94b024a9678c8b3e062 100755 (executable)
@@ -1,12 +1,13 @@
 #include "bbstdExecBbiCommand.h"
 #include "bbstdPackage.h"
 #include "bbtkInterpreter.h"
+#include "bbtkExecuter.h"
 
 namespace bbstd
 {
 
   BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,ExecBbiCommand);
-  BBTK_USER_BLACK_BOX_IMPLEMENTATION(ExecBbiCommand,bbtk::AtomicBlackBox);
+  BBTK_BLACK_BOX_IMPLEMENTATION(ExecBbiCommand,bbtk::AtomicBlackBox);
 
   void ExecBbiCommand::bbUserConstructor() 
   { 
@@ -16,6 +17,7 @@ namespace bbstd
 
   void ExecBbiCommand::DoProcess()
     {
+      /*
       // Look for the interpreter
       bbtk::Interpreter* I = 0;
          bool delete_inter = false; 
@@ -58,15 +60,15 @@ namespace bbstd
                  ccommand[i]=34;
                }
            }           
-         bool insideComment = false; // for multiline comment
-         I->InterpretLine( ccommand, insideComment);
+       
+         I->InterpretLine( ccommand );
          pos1=pos2+1;
          pos2 = bbGetInputIn().find(";",pos2+1);
          
        }
       
       if (delete_inter) delete I;
-      
+      */
       /*  Grrr  not works in windows
        char * pch;
        pch = strtok (bbGetInputIn(),";");