blob: 1e9d7955a52502b49ae1da5ed639ea89e972e289 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import os
import sys
if __name__ == '__main__':
path = sys.argv[1]
if path[0] != '/':
path = os.path.join(os.path.dirname(__file__), path)
os.execv(path, [path] + sys.argv[2:])
|