blob: 88e94306c34488e21e7958dfde7809f1a38abc37 (
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)
|