Return process exit code for 'raw' output type.

pull/7/head
Ferry Boender 10 years ago
parent ce71253ab5
commit 34b4151529
  1. 2
      src/scriptform.py

@ -357,7 +357,7 @@ class FormConfig:
stderr=stderr,
env=env)
stdout, stderr = p.communicate(input)
return None
return p.returncode
else:
p = subprocess.Popen(form.script, shell=True, stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stderr=subprocess.PIPE,

Loading…
Cancel
Save