Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The terminal process command /bin/false -l failed to launch (exit code: 1) #37087

Closed
laur1s opened this issue Oct 28, 2017 · 2 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug linux Issues with VS Code on Linux macos Issues with VS Code on MAC/OS X terminal Integrated terminal issues verified Verification succeeded
Milestone

Comments

@laur1s
Copy link

laur1s commented Oct 28, 2017

  • VSCode Version: Version 1.17.2 (1.17.2)
  • OS Version: Mac OS Sierra 10.12.6

Steps to Reproduce:

  1. launch VS Code
  2. press terminal tab

I had same issue with iTerm2 app, but /bin/bash -l launch command solved the problem

Reproduces without extensions: Yes

@vscodebot vscodebot bot added the terminal Integrated terminal issues label Oct 28, 2017
@Tyriar
Copy link
Member

Tyriar commented Oct 29, 2017

Your system administrator probably set $SHELL to /bin/false, you can workaround this by adding this to your settings:

"terminal.integrated.shell.osx": "/bin/bash"

@Tyriar Tyriar closed this as completed Oct 29, 2017
@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug linux Issues with VS Code on Linux macos Issues with VS Code on MAC/OS X labels Oct 29, 2017
@Tyriar Tyriar added this to the October 2017 milestone Oct 29, 2017
@Tyriar
Copy link
Member

Tyriar commented Oct 29, 2017

I've made this fallback to /bin/bash happen automatically in the next version.


To verifier:

  1. Open terminal
  2. Run export SHELL=/bin/false
  3. Run code
  4. Open the terminal, it should open bash
  5. Run echo $SHELL in the terminal, it should say /bin/false

@mjbvz mjbvz added the verified Verification succeeded label Nov 1, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug linux Issues with VS Code on Linux macos Issues with VS Code on MAC/OS X terminal Integrated terminal issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants