Skip to content

0.2.0

Compare
Choose a tag to compare
@perk11 perk11 released this 28 May 17:02
· 83 commits to main since this release
0.2.0
  • After encountering first unknown argument start treating the remaining arguments as command to be run. This allows to not add quotes around the command that needs to be run.
  • Better handling of errors when it's impossible to pause/resume process.
  • Display the command that was started.
  • Improved verbose output.
  • Change polling to use nanosleep() instead of sleep() and calculate the remaining sleep time when user is active in milliseconds instead of seconds, allowing to get closer to the desired timeout value.
  • Reworked main loop to avoid 2 extra sleeps before resuming the command.
  • Fix possible overflow in timeout parameter and add an upper bound to the parameter - 100 million seconds.

Full Changelog: 0.1.0...0.2.0