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

Feature request: Allow executing other process #1

Open
christophgysin opened this issue Nov 20, 2020 · 2 comments
Open

Feature request: Allow executing other process #1

christophgysin opened this issue Nov 20, 2020 · 2 comments

Comments

@christophgysin
Copy link

I would like to be able to start a process, and prevent the system from going to sleep until the process exits.

$ caffeinated [command...]

Incidentially, that would also provide an easy way to set a timeout, using e.g.

$ caffeinated sleep 1h
@electrickite
Copy link
Owner

On systems running systemd, you can use the systemd-inhibit to accomplish this. Since it already provides this capability, I'd rather not complicate caffeinated.

@christophgysin
Copy link
Author

Fair enough. But if you assume everyone has systemd, what is it that this project provides that isn't already part of systemd?

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