Open
Description
Description
On Windows with a script (.fsx
) file in a UNC directory, the "Run Script" button does not work because Ionide uses cmd.exe
and the cd
command which does not work with UNC file paths.
To Reproduce
Steps to reproduce the behaviour:
- Create a script file in a UNC directory with whatever code you like.
- Click on the "Run Script" button.
- Observe the new terminal instance with the message "
CMD does not support UNC paths as current directories.
".
Expected behaviour
The script should run.
Environment:
- OS: Microsoft Windows 10 Pro
- Ionide version: 4.5.0
- VSCode version: 1.42.0
Workaround
Use a mapped directory instead...
Additional notes
Having seen this error, if you then kill the terminal (using the "bin" icon) the VS Code window crashes.
Potential fix
Looks like this can be fixed by changing the cd
command to pushd
on this line. Also the extra quotes on this line around the %s
which corresponds to flatArgs
are not needed.
Activity