Script execution

This commit is contained in:
boccioli_m
2015-06-01 14:04:03 +02:00
parent 83aec4d248
commit 061aa5e9fa

View File

@@ -4,8 +4,8 @@
#p = subproccess.Popen('/bin/sleep 2' +, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
#p.communicate()
#ret = p.returncode
if ret <> true:
raise Exception('Script returned with an exit value not equal to 0')
#if ret <> true:
# raise Exception('Script returned with an exit value not equal to 0')
caput('PO2TC-NCS-LS:MOTOR.VELO', '50')
caput('PO2TC-NCS-LS:DEMAND', '350')