Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] Jack-in sometimes fails from quoting issues #2549

Open
PEZ opened this issue May 3, 2024 · 0 comments
Open

[Windows] Jack-in sometimes fails from quoting issues #2549

PEZ opened this issue May 3, 2024 · 0 comments

Comments

@PEZ
Copy link
Collaborator

PEZ commented May 3, 2024

Sometimes Jack-in fails on Windows, especially for deps.edn projects. It is something with the quoting of the command line, or rather something with the environment where the command line is executed that is not friendly to the quoting Calva does.

The quoting is made for the cmd.exe shell, so it may be that sometimes it is some other shell that gets to execute the the command line. I'm a bit clueless on what the fix is because most of the times I can't reproduce the problem.

There's a workaround, though:

  1. Instead of Jack-in, use the command for copying the jack-in command line
  2. Open a cmd.exe shell (in an integrated Terminal or outside VS Code, use whatever makes most sense to you)
  3. Paste and execute the command line
  4. When the nREPL server is started, use the Calva command for connecting to a running nREPL server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant