Script execution
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user