{"action":"closed","issue":{"url":"https://api.github.com/repos/julienXX/terminal-notifier/issues/162","repository_url":"https://api.github.com/repos/julienXX/terminal-notifier","labels_url":"https://api.github.com/repos/julienXX/terminal-notifier/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/julienXX/terminal-notifier/issues/162/comments","events_url":"https://api.github.com/repos/julienXX/terminal-notifier/issues/162/events","html_url":"https://github.com/julienXX/terminal-notifier/issues/162","id":144133286,"number":162,"title":"Trying to Get URL in -open to Open Before Command in -execute has Completed","user":{"login":"Max-108","id":17678504,"avatar_url":"https://avatars.githubusercontent.com/u/17678504?v=3","gravatar_id":"","url":"https://api.github.com/users/Max-108","html_url":"https://github.com/Max-108","followers_url":"https://api.github.com/users/Max-108/followers","following_url":"https://api.github.com/users/Max-108/following{/other_user}","gists_url":"https://api.github.com/users/Max-108/gists{/gist_id}","starred_url":"https://api.github.com/users/Max-108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Max-108/subscriptions","organizations_url":"https://api.github.com/users/Max-108/orgs","repos_url":"https://api.github.com/users/Max-108/repos","events_url":"https://api.github.com/users/Max-108/events{/privacy}","received_events_url":"https://api.github.com/users/Max-108/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-29T02:05:32Z","updated_at":"2016-03-30T03:17:21Z","closed_at":"2016-03-30T03:17:21Z","body":"I'm running the latest version of Terminal-Notifier (1.6.3), installed via HomeBrew, on OS X 10.11.4.\r\n\r\nIt 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.\r\n\r\nI'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."}}