dustinrue / ControlPlane

ControlPlane - context-sensitive computing for OS X
http://www.controlplaneapp.com
BSD 3-Clause "New" or "Revised" License
1.76k stars 180 forks source link

Shell Script execution #438

Closed patowod closed 8 years ago

patowod commented 8 years ago

Hi everyone, I've been trying to run my shell script through an action and tried everything I can find. Somehow it's not executed, though. Here is what I got:


!/bin/sh

mackup backup -f exit 0


Running it within the terminal works fine and as expected. ControlPlane itself says: 23:57:21.648 __56-[ShellScriptAction launchTaskWithLaunchPath:arguments:]_block_invoke Finished executing '/Users/Username/Dropbox/scripts/run-mackup.sh'

Any ideas are appreciated. Thanks in advance… 

dustinrue commented 8 years ago

Try specifying the full path to mackup

patowod commented 8 years ago

Thanks a lot - works like a charm. For anyone stopping by, sometime in the future: usr/local/bin/mackup backup -f (Application path can be found via terminal: which application-name)