+ // Look for the interpreter
+ bbtk::Interpreter::Pointer I;
+ if (mBox->bbGetParent() != 0)
+ {
+ bbtk::Factory::Pointer f = boost::dynamic_pointer_cast<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 = bbtk::Interpreter::New();
+ }
+
+ std::string commandstr(mBox->bbGetInputIn());