fixed install script

This commit is contained in:
Justin Meza 2013-03-17 19:34:48 -04:00
parent 589eaf9a21
commit 4b22cae400
1 changed files with 7 additions and 7 deletions

View File

@ -28,7 +28,7 @@ def runSubProc(command, description, errorMsg, output):
if os.name == "nt":
proc = subprocess.Popen(command, stdout=outputFile, stderr=subprocess.STDOUT, shell=True)
else:
proc = subprocess.Popen(command, stdout=outputFile, stderr=subprocess.STDOUT)
proc = subprocess.Popen(command, stdout=outputFile, stderr=subprocess.STDOUT, shell=True)
proc.wait()
if proc.returncode != 0:
print("Error installing: " + errorMsg)
@ -86,7 +86,7 @@ if args.buildDocs:
"docs.out")
runSubProc(
[makeCommand, "install"],
makeCommand + " install",
"Installing ",
"There was an installation error",
"install.out")