Skip to content

Conversation

@WGH-
Copy link
Contributor

@WGH- WGH- commented Feb 7, 2025

Instead of always checking stdout, check the actually configured output file. Fixes cases when stdout is redirected to a file or /dev/null, but stderr remains connected to the terminal.

It was previously fixed in #91, but was broken in #156.

Instead of always checking stdout, check the actually configured output
file. Fixes cases when stdout is redirected to a file or /dev/null, but
stderr remains connected to the terminal.

It was previously fixed in schollz#91, but was broken in schollz#156.
@schollz schollz merged commit 1a5d483 into schollz:main Feb 8, 2025
1 check passed
@schollz
Copy link
Owner

schollz commented Feb 8, 2025

Looks great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants