/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Useful built-in macOS command-line utilities
(weiyen.net)
700 points
yen223
| 1 comments |
06 Nov 24 05:51 UTC
|
HN request time: 0.221s
|
source
Show context
selectnull
◴[
06 Nov 24 08:28 UTC
]
No.
42058087
[source]
▶
>>42057431 (OP)
#
TIL: caffeinate
Very useful.
replies(5):
>>42058262
#
>>42058366
#
>>42058643
#
>>42060502
#
>>42063310
#
weberer
◴[
06 Nov 24 11:42 UTC
]
No.
42060502
[source]
▶
>>42058087
#
It would be cool to have this activate when a Jupyter notebook is currently running a cell, and deactivate automatically when its finished.
replies(1):
>>42064216
#
1.
eszed
◴[
06 Nov 24 15:55 UTC
]
No.
42064216
[source]
▶
>>42060502
#
This can be done by passing a PID. I believe there are other options, as well. (Not at my computer to look it up right now.) I haven't used those features "manually", but I have in scripts that I expect to generate long-running processes.
ID:
GO
↑