1
vote
2answers
1k views

How to use inotifywait in a non-blocking way and mail the results?

I've tried several times to test my script, but with no success. This is the script: zenity --question --text "my text" if [ $? -eq 1 ]; then zenity --warning --text "my text" else ping -n ...