formulahendry / formulahendry/vscode-code-runner

CodeRunner adds full windows path to WSL path

Open
#560 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.40.1
- OS Version: Windows 10 Version: 17134.1130
- Code Runner Version: 0.9.14

**Describe the bug**
Note sure if it is a bug or a misconfiguration.
When i try to run a lisp file using the wsl terminal i get the following error code:
The file is not found, because the windows filepath is added after the wsl filepath

gregor@GPC:/mnt/c/Users/Gregor/Documents/Hochschule/Informatik/Semester 3/PR3/LispWS$ sbcl --script "c:\Users\Gregor\Documents\Hochschule\Informatik\Semester 3\PR3\LispWS\test.lisp"
Unhandled FILE-DOES-NOT-EXIST in thread #:
Error opening #P"/mnt/c/Users/Gregor/Documents/Hochschule/Informatik/Semester 3/PR3/LispWS/c:\\\\Users\\\\Gregor\\\\Documents\\\\Hochschule\\\\Informatik\\\\Semester 3\\\\PR3\\\\LispWS\\\\test.lisp":
No such file or directory

**To Reproduce**

**Actual behavior**
The entire windows path of the file is added after the wsl path

**Expected behavior**
Only the filename should be added to the wsl path

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.