mirror of https://github.com/CrimsonTome/tldr.git
caffeinate: add `-w` flag example (#10749)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>pull/23/head
parent
a140f87dac
commit
6ee0f4e5a3
|
@ -11,6 +11,10 @@
|
||||||
|
|
||||||
`caffeinate -s "{{command}}"`
|
`caffeinate -s "{{command}}"`
|
||||||
|
|
||||||
|
- Prevent from sleeping until a process with the specified PID completes:
|
||||||
|
|
||||||
|
`caffeinate -w {{pid}}`
|
||||||
|
|
||||||
- Prevent from sleeping (use `Ctrl + C` to exit):
|
- Prevent from sleeping (use `Ctrl + C` to exit):
|
||||||
|
|
||||||
`caffeinate -i`
|
`caffeinate -i`
|
||||||
|
|
Loading…
Reference in New Issue