-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Use Windows Subsystem for Linux as integrated terminal #22317
Comments
Try this: "terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\bash.exe" https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration |
With the Fall Creators Update this is changed. The full application link is required : Note: |
@Drache93 I'm on the Fall Creators Update and this works fine for me: "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\bash.exe" |
Sorry didn't make this clear. I'm using the new Ubuntu distro from the Windows Store. Rather than the old Bash on Windows. Is this the same for you @Tyriar? |
Not sure I've tried on a PC without Bash on Windows installed via the older mechanism, so not sure. If that is the new recommended path it's not particularly nice. @bitcrazed is it true that users will need to use a path like this when hooking up Ubuntu installed via the store?
|
Thanks @Tyriar . @Drache93 - When using new store-delivered distros, one can be configured as your default - this is the distro that gets launched when you call If you're calling from a 32-bit process, you'll need to reference via sysnative: If you're configuring VSCode 64bit edition, you can directly reference If you wanted to specifically instantiate a given distro, just call HTH. |
Steps to Reproduce:
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\bash.exe",
"terminal.external.windowsExec": "C:\\Windows\\System32\\bash.exe"
You get the following error message:
The terminal process command
C:\Windows\System32\bash.exe
failed to launch (exit code: 1)The text was updated successfully, but these errors were encountered: