浏览代码

Execute compileall using nsExec to hide console window

Closes gh-17
Thomas Kluyver 11 年之前
父节点
当前提交
5a7a95ef2b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      nsist/template.nsi

+ 1 - 1
nsist/template.nsi

@@ -50,7 +50,7 @@ Section "!${PRODUCT_NAME}" sec_app
   ;INSTALL_SHORTCUTS
   ; Byte-compile Python files.
   DetailPrint "Byte-compiling Python modules..."
-  ExecWait 'py -${PY_QUALIFIER} -m compileall -q "$INSTDIR\pkgs"'
+  nsExec::ExecToLog 'py -${PY_QUALIFIER} -m compileall -q "$INSTDIR\pkgs"'
   WriteUninstaller $INSTDIR\uninstall.exe
   ; Add ourselves to Add/remove programs
   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \