formulahendry / formulahendry/vscode-code-runner
[Bug] code runner not going to the right path when running python file.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 351
- PR merge metrics
- No merged PRs in 30d
Description
hi everyone, Im kinda lost.
So i am running VSCode with wsl to get an zsh terminal in my VSCode.
But when i try running an python file with coderunner in the terminal it gives me an error :
/usr/bin/python3: can't open file '/mnt/g/Onedrive/HvA/Python/g:\\Onedrive\\HvA\\Python\\test.py': [Errno 2] No such file or directory
But when i run the python file manually it does work.

When i disable the "Run in terminal" function in code runner it does work:

But i need it to run in the terminal so i can use the input function in python which i cant do when it runs in the output window.
From what i see I am guessing that it tries to go to the wrong path so thats why it cant run, but i dont know how to fix this.
Any ideas?
OS: Win10 version 19044
VSCode: 1.71
Runner: 0.11.8
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.