From: Eduardo DAVILA Date: Wed, 27 Oct 2021 14:47:36 +0000 (+0200) Subject: #3403 vtk8itk5wx3-macos X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=8c37189af7f8c6e2bc3c9989328824c176296107;p=bbtk.git #3403 vtk8itk5wx3-macos --- diff --git a/packages/std/src/bbstdExecSystemCommand.cxx b/packages/std/src/bbstdExecSystemCommand.cxx index 43c9dc5..be41dec 100755 --- a/packages/std/src/bbstdExecSystemCommand.cxx +++ b/packages/std/src/bbstdExecSystemCommand.cxx @@ -82,13 +82,18 @@ namespace bbstd } // #if defined(_WIN32) // ccommand="start /b "+ccommand; -// #endif // defined(_WIN32) +// #endif // defined(_WIN32) + +#ifndef APPLE + ccommand = "source ~/.bbtk/profile_creatools ; " + ccommand; +#endif + if (bbGetInputVerbose()==true) { std::cout << "*** Executing system command : '"<