在 tmux 中打开 Safari 和 Finder 失败

use*_*627 7 finder safari tmux osx-mavericks macos

OS X 10.9.2,tmux 1.9a 通过 brew 安装。在 tmux 中:

$ open /System/Library/CoreServices/Finder.app                                                                                                                           
LSOpenURLsWithRole() failed with error -600 for the file /System/Library/CoreServices/Finder.app.
$ open /Applications/Safari.app                                                                                                                                          
LSOpenURLsWithRole() failed with error -600 for the file /Applications/Safari.app.
$ open /Applications/Xcode.app
(Success)
Run Code Online (Sandbox Code Playgroud)

输出 tmux:

$ open /System/Library/CoreServices/Finder.app                                                                                                                           
(Success)
$ open /Applications/Safari.app                                                                                                                                          
(Success)
$ open /Applications/Xcode.app
(Success)
Run Code Online (Sandbox Code Playgroud)

导致此问题的原因是什么,如何解决?

小智 4

重新启动 tmux 似乎也解决了我的这个问题。不知道为什么,但如果我偶然发现原因,我会编辑我的答案。