X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fstd%2Fsrc%2FbbstdExecSystemCommand.h;h=f86821b1c86de06120d51fce603d0bf75d41b332;hb=5640441b6f1f22cd51bc922d8d702e4600024c6f;hp=d10c26cb89868fca400e3a135f791bb7b0243e85;hpb=b8fe96fbebd153e92de1f1bfcad48ad009365df5;p=bbtk.git diff --git a/packages/std/src/bbstdExecSystemCommand.h b/packages/std/src/bbstdExecSystemCommand.h index d10c26c..f86821b 100755 --- a/packages/std/src/bbstdExecSystemCommand.h +++ b/packages/std/src/bbstdExecSystemCommand.h @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbstdExecSystemCommand.h,v $ Language: C++ - Date: $Date: 2009/05/14 14:43:38 $ - Version: $Revision: 1.7 $ + Date: $Date: 2012/10/11 10:49:45 $ + Version: $Revision: 1.8 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -45,6 +45,7 @@ namespace bbstd public: BBTK_BLACK_BOX_INTERFACE(ExecSystemCommand,bbtk::AtomicBlackBox); BBTK_DECLARE_INPUT(In,std::string) + BBTK_DECLARE_OUTPUT(Return,int); BBTK_PROCESS(DoProcess); void DoProcess(); }; @@ -53,7 +54,8 @@ namespace bbstd 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