mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-05 23:50:17 +00:00
e203811e3e
git-svn-id: http://svn.pyinstaller.org/trunk@830 8dd32b29-ccff-0310-8a9a-9233e24343b1
13 lines
454 B
Python
13 lines
454 B
Python
import os
|
|
import sys
|
|
import datetime
|
|
|
|
if __name__ == "__main__":
|
|
if sys.version_info >= (2,5):
|
|
import subprocess
|
|
subprocess.check_call([os.path.dirname(sys.executable) + "/../test-nestedlaunch0/test-nestedlaunch0.exe"])
|
|
else:
|
|
fn = os.path.join(os.path.dirname(sys.executable), "..", "test-nestedlaunch0", "test-nestedlaunch0.exe")
|
|
if os.system(fn) != 0:
|
|
raise RuntimeError("os.system failed: %s" % fn)
|