Hacker News new | ask | show | jobs
by beancookies 594 days ago
Another useful caffeinate tip is the `-w` option.

You can use it to pass a pid to keep the computer awake until that process completes. I use it for longer-running scripts that I don't want interrupted

1 comments

That's mostly what `caffeinate your-script` is for.