Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also set stdin and stderr when setting stdout for daemon start #18806

Closed
wants to merge 1 commit into from

Conversation

emlowe
Copy link
Contributor

@emlowe emlowe commented Nov 1, 2024

Fixes #16396

Although I'm not entirely sure on the behavior, empirical testing suggests that setting stderr and stdin to either devnull or PIPE is required for the daemon to detach from the tty. I suspect because stdout is redirected, the others need to be as well. This PR chooses to use DEVNULL.

Further testing will be required to ensure this doesn't have any side-effects

@emlowe emlowe requested a review from altendky November 1, 2024 16:18
@emlowe emlowe added the Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog label Nov 1, 2024
@emlowe emlowe closed this Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] "chia start" doesn't exit if invoked via ssh
1 participant