block-sleep

Crates.ioblock-sleep
lib.rsblock-sleep
version0.2.0
sourcesrc
created_at2024-07-25 02:02:14.280478
updated_at2024-07-25 22:33:41.987302
descriptionBlock your system from sleeping for an amount of time, or until a certain process exits
homepagehttps://github.com/lsculv/block-sleep
repositoryhttps://github.com/lsculv/block-sleep
max_upload_size
id1314606
size50,261
Lucas Culverhouse (lsculv)

documentation

README

block-sleep

Block your system from sleeping for an amount of time, or until a certain process exits

Usage: block-sleep [OPTIONS]

Options:
  -p, --pid <PID>       The process id to wait on. Sleep will be blocked until this process exits
  -f, --first <PID>...  Block sleep until the first process in the group has exited
  -a, --all <PID>...    Block sleep until all the given processes in the group have exited
  -t, --time <TIME>     The amount of time to block sleep for in seconds
  -h, --help            Print help
  -V, --version         Print version
Commit count: 0

cargo fmt