blob: 862cc749796dc47efc9a77725c899a95efbd4cfc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import os
import sys
import subprocess
if __name__ == '__main__':
with open(os.devnull, 'w') as fnull:
p = subprocess.Popen(sys.argv[1:], shell=False, stderr=fnull, stdout=sys.stdout)
p.communicate()
sys.exit(p.returncode)
|