Closed 1-61803 closed 8 years ago
This works though
$ terminal-notifier -message safari -execute "function safari { open -a safari ; } ; safari"
This is likely because the command is invoked in a subshell of Notification Center, not a subshell of your current shell, thus it does not (and cannot) inherit user-defined functions from your current shell.
@yaauie, again, I corrected myself in post 2 — and provided a useful example.
logs