Repro Steps: Launching from Dock
Close all instances of Atom
Launch Atom from the Dock
Open the developer tools
Enter the command: spawnSync = require('child_process').spawnSync
Enter the command: spawnSync('/bin/zsh', ['--login'], {input: "env"}).stdout.toString()
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
Enter the command spawnSync('/bin/bash', ['--login'], {input: "env"}).stdout.toString()
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
Repro Steps: Launching from Terminal
Close all instances of Atom
Launch Atom from iTerm
Open the developer tools
Enter the command: spawnSync = require('child_process').spawnSync
Enter the command: spawnSync('/bin/zsh', ['--login'], {input: "env"}).stdout.toString()
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:.git/safe/../../bin:/Users/Lee/.rbenv/shims:/Users/Lee/.nvm/versions/io.js/v1.8.1/bin:/Users/Lee/.bin:/usr/local/sbin:/usr/local/lib/node_modules:/Users/Lee/.rbenv/bin
Enter the command spawnSync('/bin/bash', ['--login'], {input: "env"}).stdout.toString()
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:.git/safe/../../bin:/Users/Lee/.rbenv/shims:/Users/Lee/.nvm/versions/io.js/v1.8.1/bin:/Users/Lee/.bin:/usr/local/sbin:/usr/local/lib/node_modules:/Users/Lee/.rbenv/bin