formulahendry / formulahendry/vscode-code-runner

$pythonPath not working with running with selected code

Open
#1,061 0 comments 0 reactions 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.82.0-insider
- OS Version: Windows_NT x64 10.0.19045
- Code Runner Version: v0.12.0

**Describe the bug**
The following settings does not work with running with selected code. in my case, it does not find any tempCodeRunnerFile.python file.
```
"code-runner.executorMap": {
"python": "\"$pythonPath\" -u"
}
```

**To Reproduce**
config code runner as the settings above, and run with something seleted.

**Actual behavior**
output something like:
"path/to/python-interpreter" -u

**Expected behavior**
output something like:
"path/to/python-interpreter" -u "path/to/tempCodeRunnerFile.python"

**Screenshots**
If applicable, add screenshots to help explain your problem.

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.