fix doxybuild.py for Windows

issue #287 (tylerknott@)
This commit is contained in:
Christopher Dunn 2015-06-04 21:57:29 -07:00
parent 3f05b1a897
commit bcb83b921c

View File

@ -72,7 +72,7 @@ def run_cmd(cmd, silent=False):
if silent: if silent:
status, output = getstatusoutput(cmd) status, output = getstatusoutput(cmd)
else: else:
status, output = os.system(' '.join(cmd)), '' status, output = subprocess.call(cmd), ''
if status: if status:
msg = 'Error while %s ...\n\terror=%d, output="""%s"""' %(info, status, output) msg = 'Error while %s ...\n\terror=%d, output="""%s"""' %(info, status, output)
raise Exception(msg) raise Exception(msg)