Skip to content

Commit 2dbb082

Browse files
authored
Merge pull request #126 from arezaii/stderr-bugfix
write stderr to console
2 parents b3066cc + 8631a40 commit 2dbb082

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

e4s_cl/util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ def run_subprocess(cmd, cwd=None, env=None, discard_output=False) -> int:
170170
# Log the errors in a log file
171171
for line in proc.stderr.readlines():
172172
process_logger.error(line[:-1])
173+
sys.stderr.write(line)
174+
sys.stderr.flush()
173175
buffer.append(line)
174176
returncode = proc.wait()
175177

0 commit comments

Comments
 (0)