objective-see / DoNotDisturb

Detect Evil Maid Attacks
GNU General Public License v3.0
294 stars 42 forks source link

Run a Bash Script? #15

Open JesseKrembsNYT opened 5 years ago

JesseKrembsNYT commented 5 years ago

Is there a way to run a shell script on open? I have "/Users/foo/fooscript.sh" in the execute action field. But I get the following error on lid open.

Aug 14 17:05:11 HOST Do Not Disturb[106]: Do Not Disturb (pid: 108) ERROR: failed to execute /Users/foo/fooscript.sh

Am I missing some small simple thing ?