Open GiuseppeChillemi opened 3 years ago
That's weird. It works fine on my system. If I remove one double quote, it doesn't work anymore. My VSCode version:
Version: 1.52.1 (user setup)
Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523
Date: 2020-12-16T16:34:46.910Z
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19042
I think I have found the problem: I have opened the consolle (not powershell, the DOS one) and the problem is the space encoding %20. The command line does not like it. It wants the regular space:
This does not work:
"E:/_Drives/_DropBox%20My%20BoxName/Dropbox/Svi/Red.exe"
This works:
"E:/_Drives/_DropBox My BoxName/Dropbox/Svi/Red.exe"
Maybe because after this...:
cmd --% /c
...You are already in a DOS environment
EDIT: Do you know what sets the powershell current dir of the red plugin? This "E:_Drives_DropBox My BoxName\Dropbox\Svi\fordata" is the current dir of another script I have previously opened in VSCode. It should not be the current one and it is nowhere in the JSON config file.
I have tried red 0.4.3 extension for VSCode. This is the error I have:
PS E:_Drives_DropBox My BoxName\Dropbox\Svi\fordata> cmd --% /c ""E:/_Drives/_DropBox%20My%20BoxName/Dropbox/Svi/Red.exe" --cli "e:/_Drives/_DropBox My BoxName/Dropbox/Svi/Try2.Red" Impossibile trovare il percorso specification. (I can't find the specified path)
Please, take a look at the double quotes after /C, I think they could be the source of the error
Regards