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

Error when I open integrated terminal on macOS #35587

Closed
kevinb22 opened this issue Oct 4, 2017 · 1 comment
Closed

Error when I open integrated terminal on macOS #35587

kevinb22 opened this issue Oct 4, 2017 · 1 comment
Assignees
Labels
*as-designed Described behavior is as designed terminal Integrated terminal issues

Comments

@kevinb22
Copy link

kevinb22 commented Oct 4, 2017

  • VSCode Version: 1.16.1
  • OS Version: 10.12.6 (Sierra)

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

Steps to Reproduce:

  1. Open integrated terminal
  2. Verify that error pops up at top of the screen.

Workaround:
Seems that /bin/false wasn't a file on my computer. There was /usr/bin/false, but using that path in settings still gave the same error.

In the end I overwrote the default settings for the integrated terminal to be "terminal.integrated.shell.osx": "bash" and then it launched as normal.

Reproduces without extensions: Yes

Related Issues?:
#14528
#14768

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

Tyriar commented Oct 4, 2017

This happens in some enterprise environments when they change $SHELL to /bin/false to try to prevent usage. You can try adding this to your settings:

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

If that doesn't work I suggest contacting your sysadmin.

@Tyriar Tyriar closed this as completed Oct 4, 2017
@Tyriar Tyriar added the *as-designed Described behavior is as designed label Oct 4, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed terminal Integrated terminal issues
Projects
None yet
Development

No branches or pull requests

2 participants