简体   繁体   中英

Can't open sublime text in tmux after upgrading to Yosemite

On my Mac OS Yosemite, I can open a terminal and run subl and it opens Sublime Text. But, if I start a tmux session and run subl , I get the error:

Unable to launch Sublime Text

If I try:

open -a "Sublime Text"

I get the error:

LSOpenURLsWithRole() failed for the application /Applications/Sublime Text.app with error -10810.

I found an answer for the same problem over in superuser. Unfortunately, there doesn't seem to be a solution to the problem at the moment. The link to the answer is

https://superuser.com/questions/831028/lsopenurlswithrole-failes-with-error-10810-on-yosemite-from-within-tmux/833791#833791

This is a huge issue, since Sublime isn't the only thing I open while in tmux.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM