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

Make daemon start silent #46

Closed
lmrodriguezr opened this issue Apr 19, 2016 · 4 comments
Closed

Make daemon start silent #46

lmrodriguezr opened this issue Apr 19, 2016 · 4 comments

Comments

@lmrodriguezr
Copy link
Contributor

Hello,

Is there any supported option (or plans to support an option) to tell daemons to run quietly? Usually the "...: process with pid ... started." and "...: trying to stop process with pid..." messages are very useful, but in some cases (e.g. unit testing) it would be great if I could turn them off. It's not a high-priority enhancement, but I would imagine is not very hard to implement.

I use this trick into my tests (for other modules), but combining fork and daemons with stdout capturing is not really a good idea. Actually, the unit test jumps to the ensure of the method if I do it.

Thanks!
--Miguel.

@thuehlinger
Copy link
Owner

Have you trieded to :shush option?

@lmrodriguezr
Copy link
Contributor Author

No, I didn't see it in the docs. How do I pass it? I just tried :shush=>true but it doesn't seem to have any effect.

@thuehlinger
Copy link
Owner

The :shush option should now work in the latest release (v1.2.4).

@lmrodriguezr
Copy link
Contributor Author

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

No branches or pull requests

2 participants