aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/wrapper.py
blob: 7259ef58643e3e896094dbad240d664da4e4495a (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:])