Program: bbtk
Module: $RCSfile: bbstdExecSystemCommand.h,v $
Language: C++
- Date: $Date: 2008/12/12 08:55:21 $
- Version: $Revision: 1.6 $
+ Date: $Date: 2012/10/11 10:49:45 $
+ Version: $Revision: 1.8 $
=========================================================================*/
/* ---------------------------------------------------------------------
public:
BBTK_BLACK_BOX_INTERFACE(ExecSystemCommand,bbtk::AtomicBlackBox);
BBTK_DECLARE_INPUT(In,std::string)
+ BBTK_DECLARE_OUTPUT(Return,int);
BBTK_PROCESS(DoProcess);
void DoProcess();
-
- protected:
- virtual void bbUserConstructor();
};
BBTK_BEGIN_DESCRIBE_BLACK_BOX(ExecSystemCommand,bbtk::AtomicBlackBox);
BBTK_NAME("ExecSystemCommand");
BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
BBTK_DESCRIPTION("Executes system (O.S.) commands");
- BBTK_INPUT(ExecSystemCommand,In,"system (O.S.) commands separated by ';' , use '' to indicate strings ex. help 'graph' ",std::string,"");
+ BBTK_INPUT(ExecSystemCommand,In,"system (O.S.) commands separated by ';' , use '' to indicate strings ex. help 'graph' ",std::string,"");
+ BBTK_OUTPUT(ExecSystemCommand,Return,"result (0 if no error or error number of the first error",int,"");
BBTK_END_DESCRIBE_BLACK_BOX(ExecSystemCommand);
} // EO namespace bbstd