void ExecSystemCommand::bbUserSetDefaultValues()
{
bbSetInputIn("help");
+ bbSetInputVerbose(true);
}
+
void ExecSystemCommand::bbUserInitializeProcessing()
{
}
+
void ExecSystemCommand::bbUserFinalizeProcessing()
{
}
ccommand[i]=34;
}
}
- #if defined(_WIN32)
- ccommand="start /b "+ccommand;
- #endif // defined(_WIN32)
- std::cout << "*** Executing system command : '"<<ccommand<<"'"<<std::endl;
-
- result = system ( ccommand.c_str() );
+// #if defined(_WIN32)
+// ccommand="start /b "+ccommand;
+// #endif // defined(_WIN32)
+
+
+#ifndef APPLE
+ ccommand = "source ~/.bbtk/profile_creatools ; " + ccommand;
+#endif
+
+ if (bbGetInputVerbose()==true)
+ {
+ std::cout << "*** Executing system command : '"<<ccommand<<"'"<<std::endl;
+ }
+ result = system ( ccommand.c_str() );
- std::cout << "DFGO - ExecSystemCommand::DoProcess result=" << result << std::endl;
+ //std::cout << "DFGO - ExecSystemCommand::DoProcess result=" << result << std::endl;
//DFGO - if return code is different than 0 result is equal 1