formulahendry / formulahendry/vscode-code-runner

Unneccessary inclusion of file path at the end

Open
#886 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

My settings.json for running python files is like this,

```json
{
"code-runner.executorMap": {
"python": "python main.py",
},
}
```
It should convert to bash and run like, `python main.py `

Instead of that, it is adding an unnecessary file path at the end like this, `python main.py "d:\main.py"`

Is there a flag or any property that I should change to remove that annoying file path at the end?

- VS Code Version: 1.62.3
- OS Version: Microsoft Windows Version 21H2
- Code Runner Version: v0.11.6

![image](https://user-images.githubusercontent.com/41286047/142887754-ce2f24ab-6550-4cd4-b434-8e97d9299d90.png)

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.