Terminal
Turn on Power › Local automation in Battistics, then:
battistics run --name Build -- swift buildbattistics run [--minutes N] [--name NAME] [--mode MODE] -- COMMAND [ARG...]- The command runs in your terminal, with the same directory, environment and streams. Arguments are passed without a shell; use
sh -cfor pipelines. - Keep Awake lasts as long as the command, 12 hours at most (
--minutestakes 15, 30, 60, 120, 240, 360 or 720). --modeisdisplayMaySleep(default),displayOnorlidClosed. Closed-lid needs automation allowed for it and the power helper installed.- A running session is never replaced. If Keep Awake cannot start, the command does not run and
battisticsexits with 69. - A stop by protection or timeout lets the Mac sleep but never kills the command. The exit status is the command’s own.
