We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 001b85c commit 99f0354Copy full SHA for 99f0354
src/tmuxp/util.py
@@ -65,13 +65,13 @@ def run_before_script(
65
# Read one line from stderr, if available
66
line_err = proc.stderr.readline() if proc.stderr else ""
67
68
- if line_out:
+ if line_out and line_out.strip():
69
out_buffer.append(line_out)
70
if is_out_tty:
71
sys.stdout.write(line_out)
72
sys.stdout.flush()
73
74
- if line_err:
+ if line_err and line_err.strip():
75
err_buffer.append(line_err)
76
if is_err_tty:
77
sys.stderr.write(line_err)
0 commit comments