Open christophgysin opened 3 years ago
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.
Fair enough. But if you assume everyone has systemd, what is it that this project provides that isn't already part of systemd?
I would like to be able to start a process, and prevent the system from going to sleep until the process exits.
Incidentially, that would also provide an easy way to set a timeout, using e.g.