Closed Max-108 closed 8 years ago
I think now that the -open option simply adds the "open URL" command to the end of the execute string. A workaround therefore is to simply drop the -open option and use instead: -execute "open URL && other commands after"
I'm running the latest version of Terminal-Notifier (1.6.3), installed via HomeBrew, on OS X 10.11.4.
It seems that Terminal-Notifier waits for the command given to -execute to complete before it opens the URL given to -open. In my current use case however the command being executed takes a minute or so to complete and I'd like the URL to open as soon as I click on the notification.
I've tried running the command in the background (&), and using commands like nohup, in the hope that the process I'm running will detach from the sh shell, but so far I've had no luck - I'm hoping someone has successfully managed this and can point me in the right direction.