#! /usr/bin/env python # -*- coding: UTF-8 -*- #----------------------------------------------------------------------------------------------------------------------* import sys, os, subprocess #----------------------------------------------------------------------------------------------------------------------* #--- Get script absolute path scriptDir = os.path.dirname (os.path.abspath (sys.argv [0])) os.chdir (scriptDir) #--- returncode = subprocess.call (["python", "1-build.py", "as", "0"]) #--- Wait for subprocess termination if returncode != 0 : sys.exit (returncode) #----------------------------------------------------------------------------------------------------------------------*