Created
August 7, 2019 10:47
-
-
Save diewland/65fc226a95dc4b41f39841203d6d2444 to your computer and use it in GitHub Desktop.
pyinstall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On Windows, running this from the binary produced by Pyinstaller | |
# with the ``--noconsole`` option requires redirecting everything | |
# (stdin, stdout, stderr) to avoid an OSError exception | |
# "[Error 6] the handle is invalid." | |
ret.update({'stdin': subprocess.PIPE, | |
'stderr': subprocess.PIPE, | |
'startupinfo': si, | |
'env': env }) | |
return ret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment