diff --git a/src/loaders/Task.cpp b/src/loaders/Task.cpp index ec9cbba..7cd1ba8 100644 --- a/src/loaders/Task.cpp +++ b/src/loaders/Task.cpp @@ -306,7 +306,7 @@ void Task::execute( Conf * configuration, bool verbose ) syslog(LOG_INFO, infostring.str().c_str() ); std::cout << infostring.str(); - int rectifier_error = Sproc::execute( rectifier_command ); + int rectifier_error = Sproc::execute( "source " + configuration->get_env_vars_file() + " && " + rectifier_command ); // ********************************************** // d[3] Error Code Check for Rectifier @@ -416,4 +416,4 @@ void Task::execute( Conf * configuration, bool verbose ) // end d[1] Rectify Check // ********************************************** } -} \ No newline at end of file +}