watch: add -r to not rexec on terminal resize

If you have the watched program doing some other thing every time its
run and you resize the window, you might get unexpected results. The
-r option lets you run only when the interval has expired.

References:
 procps-ng/procps!125
 procps-ng/procps#190
This commit is contained in:
Craig Small committed 2023-01-17 20:45:48 +11:00
1 parent 5f4074a250
commit b2bfd76b06
3 files changed
+56 -35

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ procps-ng-NEXT
* vmstat: Referesh memory statistics Debian #1027963
* w: Add --pids option merge #159
* watch: Pass through beep issue #104
* watch: -r option to not re-exec on SIGWINCH merge #125
procps-ng-4.0.2
---------------