Script failing to start application with 'open'
I'm trying to get an application to start once SD! has finished a backup, and having some problems getting it working.
I've set a shell script to be run once the backup completes, and it executes
open -b org.me.myappid
to try to start the application. This works fine if I execute the shell myself. However when SD! runs the script, it looks like open can't find the application. I get the following in the log:
open[2502] Couldn't launch application: (null)
As far as I understood it, open calls launch services to start applications, so I don't see why it would be able to find the application in an interactive shell, and not in the shell SD! starts.
Any ideas?
|