When running long tests on macOS, the machine may go to sleep if you don’t touch it.
There’s a built-in command that keeps it awake.
caffeinate
Or run it with a command:
caffeinate -i ./run_test.sh
Let your Mac drink some coffee ☕️
Interesting and useful.
沒有留言:
張貼留言