Skip to content
Snippets Groups Projects
Commit 982bd636 authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #9607: Fixed PythonControl to forward LOFARENV to pipelines

parent b5c1aa79
No related branches found
No related tags found
No related merge requests found
......@@ -212,13 +212,13 @@ bool PythonControl::_startPython(const string& pythonProg,
itsPythonName = formatString("PythonServer{%d}@%s", obsID, pythonHost.c_str());
if (onRemoteMachine) {
startCmd = formatString("ssh %s %s %s %s %s %s %s",
startCmd = formatString("ssh %s LOFARENV=$LOFARENV %s %s %s %s %s %s",
pythonHost.c_str(), startScript.c_str(),
executable.c_str(), parSetName.c_str(),
myHostname(true).c_str(), parentService.c_str(), itsPythonName.c_str());
}
else {
startCmd = formatString("%s %s %s %s %s %s",
startCmd = formatString("env LOFARENV=$LOFARENV %s %s %s %s %s %s",
startScript.c_str(),
executable.c_str(), parSetName.c_str(),
myHostname(true).c_str(), parentService.c_str(), itsPythonName.c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment