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

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

Open Marc-Morcos opened this issue 3 years ago • 0 comments

  • 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

Marc-Morcos avatar Jul 15 '22 00:07 Marc-Morcos