From a3a85957f6f3c3a75326b015565bd9500e6fc5bd Mon Sep 17 00:00:00 2001 From: Zack Piispanen Date: Sat, 12 Oct 2013 05:58:45 -0400 Subject: [PATCH] use popen instead of subprocess.call --- create_release.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/create_release.py b/create_release.py index 51b780c0..81493519 100644 --- a/create_release.py +++ b/create_release.py @@ -93,9 +93,11 @@ def update_terraria_exe(): os.remove(terraria_bin_name) def build_software(): - subprocess.call(['/usr/local/bin/xbuild', './TShockAPI/TShockAPI.csproj', '/p:Configuration=Release']) - subprocess.call(['/usr/local/bin/xbuild', './TShockAPI/TShockAPI.csproj', '/p:Configuration=Debug']) - + release_proc = subprocess.Popen(['/usr/local/bin/xbuild', './TShockAPI/TShockAPI.csproj', '/p:Configuration=Release']) + debug_proc = subprocess.Popen(['/usr/local/bin/xbuild', './TShockAPI/TShockAPI.csproj', '/p:Configuration=Debug']) + release_proc.wait() + debug_proc.wait() + if __name__ == '__main__': create_release_folder() update_terraria_exe()