}
// #if defined(_WIN32)
// ccommand="start /b "+ccommand;
-// #endif // defined(_WIN32)
+// #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() );
+ result = system ( ccommand.c_str() );
//std::cout << "DFGO - ExecSystemCommand::DoProcess result=" << result << std::endl;