Commit 169b525
committed
driver/externalconsoledriver: use bufsize=0 for opening external process
The ExternalConsoleDriver works on top of a command executed on the local
computer. Until now the system default of io.DEFAULT_BUFFER_SIZE
(typically 8192 bytes) was used for bufsize. This does not work well
for this use case, we want unbuffered reads and writes. So set the
bufsize to 0, see
https://docs.python.org/3/library/subprocess.html#popen-constructor .
Signed-off-by: Bastian Krause <bst@pengutronix.de>1 parent ccf7a3f commit 169b525
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments