-// #endif // defined(_WIN32)
- std::cout << "*** Executing system command : '"<<ccommand<<"'"<<std::endl;
-
- result = system ( ccommand.c_str() );
+// #endif // defined(_WIN32)
+
+
+#ifdef __APPLE__
+ ccommand = "source ~/.bashrc ; " + ccommand;
+#endif
+
+ if (bbGetInputVerbose()==true)
+ {
+ std::cout << "*** Executing system command : '"<<ccommand<<"'"<<std::endl;
+ }
+ result = system ( ccommand.c_str() );