1-build-as.py 708 B

12345678910111213141516171819
  1. #! /usr/bin/env python
  2. # -*- coding: UTF-8 -*-
  3. #----------------------------------------------------------------------------------------------------------------------*
  4. import sys, os, subprocess
  5. #----------------------------------------------------------------------------------------------------------------------*
  6. #--- Get script absolute path
  7. scriptDir = os.path.dirname (os.path.abspath (sys.argv [0]))
  8. os.chdir (scriptDir)
  9. #---
  10. returncode = subprocess.call (["python", "1-build.py", "as", "0"])
  11. #--- Wait for subprocess termination
  12. if returncode != 0 :
  13. sys.exit (returncode)
  14. #----------------------------------------------------------------------------------------------------------------------*