blob: 4f43362ad9816654f7b99c3412cc5e9061ef8c86 (
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)
|