formulahendry / formulahendry/vscode-code-runner

[Bug] Runner doesn't work with multiple drives (for RUST)

Aperta
#960 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
2.4k
Fork
351
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

- VS Code Version:
1.68.1
30d9c6cd9483b2cc586687151bcbcd635f373630
x64
- OS Version: Windows 10
- Code Runner Version: 0.11.8

**Describe the bug**
Description of what the bug is.
Running rust with multiple disks doesn't work. The terminal is opened on the C: drive and it does `cd "d:/path/to/file"` but it needs to run `D:` first.

**To Reproduce**
Steps to reproduce the behavior:

1. Put a rust program onto a disk that is not the main disk
2. Try to run it

**Actual behavior**
It says file not found since the cd command is ignored

**Expected behavior**
Runs `D:` then the rest of the commands

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Riproduci il problema su Windows con un programma Rust memorizzato su un'unità diversa da C:, quindi esamina come il runner costruisce ed esegue il comando del terminale. Il lavoro è completato quando il runner passa all'unità di destinazione prima di cambiare directory ed esegue correttamente il programma.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust, typescript
Ambito
tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.