formulahendry / formulahendry/vscode-code-runner
[Bug] Code Runner is not using Git Bash even though it's my default terminal
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 351
- PR merge metrics
- No merged PRs in 30d
Description
When I right click the shell script shown in my picture below and click `Run Code`, it seems like Code Runner incorrectly uses cmd instead of Git Bash and generates an error because it is using Git Bash style filepaths. The command it runs works properly when I copy paste it into Git Bash which is my VS Code default terminal.

I've seen similar reports on Stack Overflow and Github but the only solution I found was to add `"code-runner.terminalRoot": "/"` to my settings which didn't fix the problem for me.
```
VS Code Version: Version: 1.59.0 (system setup)
Commit: 379476f0e13988d90fab105c5c19e7abc8b1dea8
Date: 2021-08-04T23:13:12.822Z
Electron: 13.1.7
Chrome: 91.0.4472.124
Node.js: 14.16.0
V8: 9.1.269.36-electron.0
OS: Windows_NT x64 10.0.19042
- Code Runner Version: v0.11.5
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.