formulahendry / formulahendry/vscode-code-runner

[Bug] -Windows shellscript executorMap not being honored.

Open
#987 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

- VS Code Version: 1.72.2
- OS Version: Windows 11
- Code Runner Version: v0.11.8

**Describe the bug**
Trying to change how shellscripts run to be able to quickly use code runner.
I've tried setting different options in settings but nothing changes.
```
"code-runner.executorMap": {
"shellscript": "cd $dir && sh $fileName",
}
```

**To Reproduce**
Steps to reproduce the behavior:

1. Set anything in executor map for shellscript
2. Try to run a bash file
3. Get the original message and settings are not honored.

**Actual behavior**
Always get the EXACT same message, not matter how I change shellscript
```
[Running] /bin/bash "c:\workspace\test"
The system cannot find the path specified.
```

**Expected behavior**
To be able to set variables and enable shellscripts to work with code runner.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.