#! /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", "view-hex"]) if returncode != 0 : sys.exit (returncode) #----------------------------------------------------------------------------------------------------------------------*