Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
18f8355a
Commit
18f8355a
authored
Jul 05, 2013
by
Mukund Sivaraman
Browse files
[master] Don't buffer anything in Popen()
parent
4c9ef296
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/lettuce/features/terrain/terrain.py
View file @
18f8355a
...
...
@@ -135,7 +135,7 @@ class RunningProcess:
"""
stderr_write
=
open
(
self
.
stderr_filename
,
"w"
)
stdout_write
=
open
(
self
.
stdout_filename
,
"w"
)
self
.
process
=
subprocess
.
Popen
(
args
,
1
,
None
,
subprocess
.
PIPE
,
self
.
process
=
subprocess
.
Popen
(
args
,
0
,
None
,
subprocess
.
PIPE
,
stdout_write
,
stderr_write
)
# open them again, this time for reading
self
.
stderr
=
open
(
self
.
stderr_filename
,
"r"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment