Make a symlink to a file that will show up in the project tree.
Right-click the symlink in the project tree, the context menu will appear.
Select "Open Terminal Here" from the context menu.
Symlinks to directories work as expected.
Atom: 1.17.2 x64
Electron: 1.3.15
OS: Mac OS X 10.12
Thrown From: open-terminal-here package 2.3.0
Stack Trace
Uncaught Error: spawn ENOTDIR
At internal/child_process.js:313
Error: spawn ENOTDIR
at exports._errnoException (util.js:1026:11)
at ChildProcess.spawn (internal/child_process.js:313:11)
at exports.spawn (child_process.js:392:9)
at Object.exports.execFile (child_process.js:155:15)
at Object.module.(anonymous function) [as execFile] (ELECTRON_ASAR.js:195:20)
at Object.exports.exec (child_process.js:115:18)
at Object.childProcess.(anonymous function) [as exec] (ELECTRON_ASAR.js:680:22)
at open (/packages/open-terminal-here/index.coffee:44:28)
at /packages/open-terminal-here/index.coffee:63:9)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:265:1)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:1)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:166:1)
at AtomEnvironment.module.exports.AtomEnvironment.dispatchContextMenuCommand (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1306:1)
at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app/src/application-delegate.js:347:1)
at emitThree (events.js:116:13)
at EventEmitter.emit (events.js:194:7)
Steps to reproduce:
Symlinks to directories work as expected.
Atom: 1.17.2 x64 Electron: 1.3.15 OS: Mac OS X 10.12 Thrown From: open-terminal-here package 2.3.0
Stack Trace
Uncaught Error: spawn ENOTDIR
Commands
Non-Core Packages