From 09a42d81ecc535a689ea38a9d1d3f641b1e26b61 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sat, 30 Mar 2013 21:28:13 +0000 Subject: [PATCH] change build.py to launch ant via os.system, rather than subprocess.call. this fixes building mobile on windows --- build.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.py b/build.py index 000e121b..42b1e4bf 100755 --- a/build.py +++ b/build.py @@ -8,7 +8,6 @@ import base64 import sys import os import shutil -import subprocess # load settings file @@ -174,7 +173,7 @@ if buildMobile: # now launch 'ant' to build the mobile project - retcode = subprocess.call(["ant", "-buildfile", "mobile/build.xml", buildMobile]) + retcode = os.system("ant -buildfile mobile/build.xml %s" % buildMobile) if retcode != 0: print ("Error: mobile app failed to build. ant returned %d" % retcode)