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

妖精的绣舞 提交于 2019-12-23 09:09:47

问题


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.

回答1:


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.



来源:https://stackoverflow.com/questions/26486345/cant-open-sublime-text-in-tmux-after-upgrading-to-yosemite

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!