Skip to content

Commit 392117d

Browse files
committed
Should not use stdout=PIPE or stderr=PIPE with subprocess.call() [...] the child process may block
See : http://docs.python.org/library/subprocess.html#using-the-subprocess-module fixes kivy#29
1 parent 650f868 commit 392117d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/build.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ def compile_dir(dfn):
7575
'''
7676

7777
# -OO = strip docstrings
78-
subprocess.call([PYTHON,'-OO','-m','compileall','-f', dfn],
79-
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
78+
subprocess.call([PYTHON,'-OO','-m','compileall','-f', dfn])
8079

8180
def is_blacklist(name):
8281
for pattern in BLACKLIST_PATTERNS:

0 commit comments

Comments
 (0)