X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fstd%2Fsrc%2FbbstdExecSystemCommand.cxx;h=f01fcb2941d3ef95b1db59c83def4fa0d2c159c4;hb=81c99482bd91e0d781902d6d45fadda4fbee6793;hp=f30234f7f6f3875cf4de9f317f497fe99738b572;hpb=6575a389b71b1b85c79e4444885becb76ecf16e4;p=bbtk.git diff --git a/packages/std/src/bbstdExecSystemCommand.cxx b/packages/std/src/bbstdExecSystemCommand.cxx index f30234f..f01fcb2 100755 --- a/packages/std/src/bbstdExecSystemCommand.cxx +++ b/packages/std/src/bbstdExecSystemCommand.cxx @@ -2,8 +2,8 @@ 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 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -39,11 +39,17 @@ namespace bbstd 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; @@ -66,6 +72,9 @@ namespace bbstd ccommand[i]=34; } } +#if defined(_WIN32) + ccommand="start /b "+ccommand; +#endif // defined(_WIN32) std::cout << "*** Executing system command : '"<