{"action":"opened","issue":{"url":"https://api.github.com/repos/ChrisJohnsen/tmux-MacOSX-pasteboard/issues/40","labels_url":"https://api.github.com/repos/ChrisJohnsen/tmux-MacOSX-pasteboard/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/ChrisJohnsen/tmux-MacOSX-pasteboard/issues/40/comments","events_url":"https://api.github.com/repos/ChrisJohnsen/tmux-MacOSX-pasteboard/issues/40/events","html_url":"https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard/issues/40","id":89621872,"number":40,"title":"Unable to run `display notification` through `osascript` in tmux","user":{"login":"mmwtsn","id":1479130,"avatar_url":"https://avatars.githubusercontent.com/u/1479130?v=3","gravatar_id":"","url":"https://api.github.com/users/mmwtsn","html_url":"https://github.com/mmwtsn","followers_url":"https://api.github.com/users/mmwtsn/followers","following_url":"https://api.github.com/users/mmwtsn/following{/other_user}","gists_url":"https://api.github.com/users/mmwtsn/gists{/gist_id}","starred_url":"https://api.github.com/users/mmwtsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmwtsn/subscriptions","organizations_url":"https://api.github.com/users/mmwtsn/orgs","repos_url":"https://api.github.com/users/mmwtsn/repos","events_url":"https://api.github.com/users/mmwtsn/events{/privacy}","received_events_url":"https://api.github.com/users/mmwtsn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-19T17:51:58Z","updated_at":"2015-06-19T17:51:58Z","closed_at":null,"body":"Running the following fails when run under tmux (at least) on OS X 10.10:\r\n\r\n```bash\r\nosascript -e 'display notification \"This is a test message.\" with title \"Test\"'\r\n```\r\nHowever, when run in a Bash shell without tmux it works fine. Any ideas?\r\n\r\nThis may very well be out of scope for this project but this was mentioned as a potential solution in [a StackOverflow question](http://apple.stackexchange.com/questions/174779/unable-to-run-display-notification-using-osascript-in-a-tmux-session)."}}