Skip to content

Commit 5548129

Browse files
authored
Revert changes from refactor execution functions and decorators
1 parent 761d577 commit 5548129

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tinyscript/helpers/fexec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def _read(pipe, queue):
101101
finally:
102102
queue.put(None)
103103

104-
bs, out, err = kwargs.pop('bufsize', -1), b"", b""
104+
bs, out, err = kwargs.pop('bufsize', 1), b"", b""
105105
patterns = [b(x) for x in (patterns or [])]
106106
p = subprocess.Popen(__set_cmd(cmd, **kwargs), stdout=subprocess.PIPE, stderr=subprocess.PIPE, bufsize=bs, **kwargs)
107107
q = Queue()

0 commit comments

Comments
 (0)