X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fstd%2Fsrc%2FbbstdExecSystemCommand.h;h=d32a880aba4d0533239a7de1ab41d4faae75a4fd;hb=2dd2633fa3c6c6861a6ce62f1055d867bed534de;hp=34f5b5470161400e3878f0ff860746971a195e49;hpb=cfad95b6e08e6e53846ffcda7fbc5932065f2c47;p=bbtk.git diff --git a/packages/std/src/bbstdExecSystemCommand.h b/packages/std/src/bbstdExecSystemCommand.h index 34f5b54..d32a880 100755 --- a/packages/std/src/bbstdExecSystemCommand.h +++ b/packages/std/src/bbstdExecSystemCommand.h @@ -49,17 +49,19 @@ namespace bbstd public: BBTK_BLACK_BOX_INTERFACE(ExecSystemCommand,bbtk::AtomicBlackBox); BBTK_DECLARE_INPUT(In,std::string) + BBTK_DECLARE_INPUT(Verbose,bool) BBTK_DECLARE_OUTPUT(Return,int); BBTK_PROCESS(DoProcess); void DoProcess(); }; 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_OUTPUT(ExecSystemCommand,Return,"result (0 if no error or error number of the first error",int,""); + 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,Verbose,"(true default) true with console message / false NO console message",bool,""); + 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