-
Notifications
You must be signed in to change notification settings - Fork 23
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
Solargraph seems to ignore terminal.integrated.automationShell #238
Comments
Thanks for bringing this to my attention. I'll work on it for the next release. |
I'm having the same problem, but using the new syntax in VSCode for setting shell. I have
But starting solargraph still tries to run in zsh:
|
|
@goatandsheep not sure if you saw my reply but I have |
I have
terminal.integrated.automationShell.osx
set to/bin/bash
, but the Solargraph extension still tries to startsolargraph
viazsh
(which is the system’s default shell).Note that there is a funny workaround: If I have a macOS terminal session where the current shell is
bash
and I start VS Code from this terminal viacode
, then the Solargraph extensions usesbash
instead ofzsh
. (Because starting VS Code from the terminal means it inherits the environment from the terminal, includingprocess.env["SHELL"]
.)I think the Solargraph extension should use whatever shell is configured in
terminal.integrated.automationShell
(respective the newerterminal.integrated.automationProfile
) for running subprocesses – as far as I understand these settings are meant for exactly this kind of situations.The text was updated successfully, but these errors were encountered: