I'm running some Python machine learning programs through Terminal that take hours at a time to finish. If I leave my computer unattended it hibernates - the screen goes off and I have to type in my password again.
When this happens, does my script get cancelled, paused, or continue the same? I would hate to think that my script could be 99% finished, and then gets aborted because my computer went to sleep.
caffeinate python ..., it will not sleep for the length of this particular command.-sflag tocaffeinate, like this:caffeinate -s python .... But I also clicked the Sleep button in the system menu, to check how this utility behaves; it probably affects the results.