+ // Look for the interpreter
+ bbtk::Interpreter* I = 0;
+ if (mBox->bbGetParent() != 0)
+ {
+ bbtk::Factory* f =
+ ((bbtk::ComplexBlackBoxDescriptor*)mBox->bbGetParent()
+ ->bbGetDescriptor())->GetFactory();
+ if ((f != 0)&&
+ (f->GetExecuter()))
+ {
+ I = f->GetExecuter()->GetInterpreter();
+ }
+ }
+ if (I==0)
+ {
+ // bbtkError("ExecBbiCommand::DoProcess() : could not find interpreter");
+ I = new bbtk::Interpreter();
+ }
+
+ std::string commandstr(mBox->bbGetInputIn());