Dropped bufsize=1 due to Python 3.8 warning
This commit is contained in:
parent
79371a3fa5
commit
4cadb913e8
1 changed files with 0 additions and 2 deletions
|
|
@ -793,14 +793,12 @@ def start_mprime_thread(working_dir, log_path):
|
||||||
"""Start mprime and save filtered output to log, returns Popen object."""
|
"""Start mprime and save filtered output to log, returns Popen object."""
|
||||||
proc_mprime = subprocess.Popen(
|
proc_mprime = subprocess.Popen(
|
||||||
['mprime', '-t'],
|
['mprime', '-t'],
|
||||||
bufsize=1,
|
|
||||||
cwd=working_dir,
|
cwd=working_dir,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.STDOUT,
|
stderr=subprocess.STDOUT,
|
||||||
)
|
)
|
||||||
proc_grep = subprocess.Popen(
|
proc_grep = subprocess.Popen(
|
||||||
'grep --ignore-case --invert-match --line-buffered stress.txt'.split(),
|
'grep --ignore-case --invert-match --line-buffered stress.txt'.split(),
|
||||||
bufsize=1,
|
|
||||||
stdin=proc_mprime.stdout,
|
stdin=proc_mprime.stdout,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue