Skip to content

Commit

Permalink
Merge pull request #1 from bastula/pyinstaller
Browse files Browse the repository at this point in the history
Fix subprocess to work properly when frozen
  • Loading branch information
bastula authored Jun 15, 2016
2 parents 38198d1 + 0359943 commit 65aeba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gooey/gui/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def run(self, command):
env["GOOEY"] = "1"
self._process = subprocess.Popen(
command.encode(sys.getfilesystemencoding()),
bufsize=1, stdout=subprocess.PIPE,
bufsize=1, stdout=subprocess.PIPE, stdin=subprocess.PIPE,
stderr=subprocess.STDOUT, shell=True, env=env)
Pool(1).apply_async(self._forward_stdout, (self._process,))

Expand Down

0 comments on commit 65aeba7

Please sign in to comment.