ae_movie_prebuild.py 336 B

12345678910111213141516
  1. import sys
  2. import os
  3. args = ""
  4. for arg in sys.argv[1:]:
  5. args += "\"" + arg + "\"" + " "
  6. os.chdir(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
  7. with open("temp/prebuild.args", "w") as w:
  8. w.write(args)
  9. os.system("python prebuild.py " + args)
  10. with open("temp/prebuild.out", "r") as out:
  11. print(out.read())