News for hackers. Stuff that matters.
Re:Useful built-in macOS command-line utilities by beancookies on Wednesday November 06, 2024 @04:25PM (#42069659)
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

Re:Useful built-in macOS command-line utilities by justinsaccount on Thursday November 07, 2024 @08:05AM (#42076298)
That's mostly what `caffeinate your-script` is for.