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
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.