Skip to content
Snippets Groups Projects
Commit 28d21b7f authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

putting back xvfb-run in casa call

parent e4dec4a1
No related branches found
No related tags found
1 merge request!279putting back xvfb-run in casa call
Pipeline #1857 passed
......@@ -40,9 +40,10 @@ class CalibrationLauncher(CasaLauncherIF):
def run(self):
logger.info("RUNNING CASA!")
os.chdir("./working")
result = subprocess.Popen("${CASA_HOME}/bin/casa --pipeline --nogui --nologger -c "
result = subprocess.Popen("PYTHONPATH='' xvfb-run -e ${PWD}/xvfb-run.err.txt -d -s \"-screen 0 800x600x16\" "
"${CASA_HOME}/bin/casa --pipeline --nogui --nologger -c "
"${CASA_HOME}/pipeline/pipeline/runvlapipeline.py ${PPR_FILENAME} || true",
shell=True, executable="/bin/bash", stdout=sys.stdout, stderr=sys.stderr)
shell=True, executable="/bin/bash", stdout=sys.stdout, stderr=sys.stderr)
return result.communicate()
def setup_environment(self, parameters: dict):
......
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