This repository was archived by the owner on Jan 26, 2024. It is now read-only.
add -q option to disable printing to stdout#158
Closed
Humm42 wants to merge 1 commit intodjpohly:mainfrom
Closed
Conversation
Printing the status to stdout can be undesirable, as blocking pipes with a filled buffer … block. Because of that, when using -s for starting a process not reading its stdin, such as service managers, after some usage dwl will freeze.
Owner
|
How about closing stdin on the service manager? The startup command is fed to and dwl will ignore the SIGPIPE/EPIPE when it tries to write. |
Contributor
Author
would work just fine; seems less intuitive to me—would still mention the problem in the |
Owner
|
Sounds totally reasonable. I've updated the README to mention the behavior and provide the Now to find out who does and doesn't read the README. :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Printing the status to stdout can be undesirable, as blocking pipes with
a filled buffer … block. Because of that, when using -s for starting a
process not reading its stdin, such as service managers, after some
usage dwl will freeze.