Found no links on internet where someone was able to make it happen. Most answers go round and round without providing a working solution. I'm starting to believe that this is not possible on a Mac.
I have some scripts that runs tests, build code etc. I want to be able to start the script and "lock" my machine and go home for the day, while the tests continue running behind the locked screen.
However, the moment the screen is locked, the terminal processes just pause. They continue again as soon as I log back in. So the machine just stays powered on the whole night, doing nothing.
Is there a way to be able to run my scripts with locked screen. Note that I'm only locking the screen (control + command + Q) and not even logging out (shift + command + Q). However, the moment the screen is locks out, the tests simply pause.
Most likely this is a safety thing implemented to prevent the machine from not running out of the battery in case there is a power outage. Is there a way I can get around this?