vscode-code-runner icon indicating copy to clipboard operation
vscode-code-runner copied to clipboard

Unneccessary inclusion of file path at the end

Open irfan7junior opened this issue 4 years ago • 2 comments

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

{
  "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

irfan7junior avatar Nov 22 '21 15:11 irfan7junior

Bad solution: add # to comment path out This is bad solution because it doesn't solve the real problem credit

Hope someone do something about this soon. It's been a while

NewBieCoderXD avatar Jan 05 '24 06:01 NewBieCoderXD

The same problem while I execute command for golang: go run . in "code-runner.executorMap"

SimonTechv avatar Jan 15 '24 21:01 SimonTechv