pallotron / yubiswitch

OSX status bar application to enable/disable Yubikey Nano
Other
872 stars 65 forks source link

AppleScript commands not working from inside tmux on MacOS Sierra #67

Closed viranch closed 6 years ago

viranch commented 7 years ago

I use the KeyOn and KeyOff AppleScript commands for some automation and they recently stopped working. I'm on MacOS Sierra, and running zsh, typically inside a tmux.

The error:

→ ~ » osascript -e 'tell application "/Applications/yubiswitch.app" to KeyOn'
51:56: execution error: yubiswitch got an error: Application isn’t running. (-600)
→ ~ » 

The application is running, of course. It works from outside of tmux. What could be going wrong?

pallotron commented 7 years ago

It does yes On Wed 7 Jun 2017 at 19:31, Alex Vanderpot notifications@github.com wrote:

Is yubiswitch still working for you in Sierra? I noticed that it stopped working completely for me when I updated.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pallotron/yubiswitch/issues/67#issuecomment-306850786, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfDH2JEVWEcrRCrNr44wFwR3D-GvPwoks5sBtBwgaJpZM4Nty6n .

--

Angelo "pallotron" Failla - pallotron(at)[freaknet.org|gmail.com]

W3: http://www.angelofailla.com

Blog: http://blog.angelofailla.com

FB: https://www.facebook.com/pallotron

TW: https://twitter.com/pallotron

GPG Key ID: 89450920 available @ pgp.mit.edu

GPG FingerPrint: 0DE8 DB22 538E D6B9 8784 83E5 1BEA 7D5C 8945 0920