Closed NekoMonad closed 1 year ago
Thanks for the report!
What is the PowerShell command you are using on your system? Is it powershell
or pwsh
?
Assuming the answer is pwsh
, then my suspicion is this the same issue that was fixed by https://github.com/Eugleo/magic-racket/pull/110, but that's not in a released version yet, so that's presumably why it's not yet working.
Yes, in the vscode's REPL terminal, it is C:\Program Files\PowerShell\7\pwsh.exe
sorry to bother you, thanks for your reply and waiting for the new version :)
No worries, glad to see we understand the cause. 🙂
I'm hoping to release a new version in next few days or so.
Environment
Error message
code:
foo.rkt
terminal message:
Additional context
the REPL works normally when run
racket --repl --eval '(enter! (file "c:/Users/quantumbird/workspace/racket/foo.rkt"))'
in terminalIt looks like the plugin incorrectly identified my powershell version as pwsh 5, and added some reduntant slash into the command.
in
src/repl.ts
:function createRepl
and
src/utils.ts