Script execution

This commit is contained in:
sfop
2017-03-30 09:28:47 +02:00
parent fb503203ee
commit c74a106038

View File

@@ -320,8 +320,7 @@ def kill_camtool():
def _run_camtool():
try:
cmd = "source /opt/gfa/python\n"
port = camtool.url[camtool.url.rfind(":")+1:]
cmd = cmd + CAMTOOL_SERVER_SCRIPT + " -p " + port + " -b /afs/psi.ch/intranet/SF/Applications/config/camtool_n > /dev/null &"
cmd = cmd + CAMTOOL_SERVER_SCRIPT + " -p " + _get_camtool_port() + " -b /afs/psi.ch/intranet/SF/Applications/config/camtool_n > /dev/null &"
print exec_cmd(cmd)
except:
import traceback