red / VScode-extension

Red extension for Visual Studio Code
Boost Software License 1.0
40 stars 17 forks source link

Issue on Windows with file name #17

Closed ghost closed 6 years ago

ghost commented 6 years ago

See console log below. I hit F6 to interpret a Red script. The extension obviously tries to cd into the path of the source, but that does not work. However, the script is invoked and executed correctly. Since VSCode already knows the correct path, what am I doing wrong?

Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\HP> cd ":\src\red\fip" cd : Cannot find path 'C:\Users\HP\:\src\red\fip' because it does not exist. At line:1 char:1

PS C:\Users\HP> C:\ProgramData\Red\console-2017-11-21-31747.exe e:\src\red\fip\fip.red PS C:\Users\HP>

ghost commented 6 years ago

Obviously it expects that the source is somewhere in the users default HOME directory, which isn't the case here.

However, it should now about the correct path, since it executes the script without a hitch 1 step later!