Error while trying to open new Emacs.app after upgrade to Yosemite After upgrade to Yosemite I get this when trying to launch new Emacs app from command-line. I've spent yesterday trying to figure out what's the problem, so today I decided to ask here.

➜  ~  open -n -a Emacs
LSOpenURLsWithRole() failed for the application /usr/local/Cellar/emacs/24.3/Emacs.app with error -10810.


Edit: might be helpful, info from /var/log/system.log:

Oct 20 16:02:49 Kostiantyns-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system): Caller not allowed to perform action: open.2674, action = service submission, code = 1: Operation not permitted, uid = 501, euid = 501, gid = 20, egid = 20, asid = 100005
Oct 20 16:02:49 Kostiantyns-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system): Caller not allowed to perform action: open.2674, action = legacy spawn, code = 1: Operation not permitted, uid = 501, euid = 501, gid = 20, egid = 20, asid = 100005
Oct 20 16:02:49 Kostiantyns-MacBook-Pro.local open[2674]: spawn_via_launchd() failed, errno=1 label=[0x0-0xbf0bf].org.gnu.Emacs path=/Applications/Emacs.app/Contents/MacOS/Emacs flags=0 : LaunchApplicationClient.cp #963 LaunchApplicationWithSpawnViaLaunchD() q=com.apple.main-thread
Oct 20 16:02:49 Kostiantyns-MacBook-Pro.local open[2674]: spawn_via_launchd() failed, errno=1 label=[0x0-0xbf0bf].org.gnu.Emacs path=/Applications/Emacs.app/Contents/MacOS/Emacs flags=0
While I don't know what exactly happened, turns out if you won't launch this from tmux -- you'll be just fine.

// thanks https://github.com/atom/atom/issues/3093