Allow specifying negated exit status codes for --exit-with-child

This commit is contained in:
2020-08-15 23:19:14 +02:00
parent 519afe63d1
commit 0d0d42cb31
2 changed files with 19 additions and 1 deletions

View File

@ -62,6 +62,8 @@ adhocify -m IN_CREATE --exit-with-child=0 -- /usr/bin/test -f awaited_file
```
Keep running until the file named "awaited_file" is created in the current directory.
`--exit-with-child` also supports negation, so e. g. with `--exit-with-child='!0'` adhocify would keep running as long as the child commands exits with 0.
Other tools
===========
If adhocify does not suit your needs, take a look at: