Program: bbtk
Module: $RCSfile: bbstdExecSystemCommand.cxx,v $
Language: C++
- Date: $Date: 2008/10/17 08:18:26 $
- Version: $Revision: 1.7 $
+ Date: $Date: 2011/07/12 16:31:00 $
+ Version: $Revision: 1.10 $
=========================================================================*/
/* ---------------------------------------------------------------------
BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,ExecSystemCommand);
BBTK_BLACK_BOX_IMPLEMENTATION(ExecSystemCommand,bbtk::AtomicBlackBox);
- void ExecSystemCommand::bbUserConstructor()
+ void ExecSystemCommand::bbUserSetDefaultValues()
{
bbSetInputIn("help");
}
-
+ void ExecSystemCommand::bbUserInitializeProcessing()
+ {
+ }
+ void ExecSystemCommand::bbUserFinalizeProcessing()
+ {
+ }
+
void ExecSystemCommand::DoProcess()
{
bool ok=true;
ccommand[i]=34;
}
}
+#if defined(_WIN32)
+ ccommand="start /b "+ccommand;
+#endif // defined(_WIN32)
std::cout << "*** Executing system command : '"<<ccommand<<"'"<<std::endl;
system ( ccommand.c_str() );
pos1=pos2+1;