question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ok, I know what’s the problem. The command for launching in nvim is bash-specific and therefore it fails to create a process. Or, more precisely, the process dies almost immediately after being created, because it doesn’t actually spawn nvim.

https://github.com/asvetliakov/vscode-neovim/blob/21ba0eb0ac483f45d73fb1333e46ae3178e4448d/src/controller.ts#L267

This line does a $(wslpath 'c:\blabla'). But that code doesn’t work in fish, which is my default shell. So we should probably either start nvim inside of a bash, or somehow make the path resolution shell-agnostic.

Sorry to cause trouble.

_Originally posted by @DanielFabian in https://github.com/asvetliakov/vscode-neovim/issues/145#issuecomment-573396921_

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DanielFabiancommented, Jan 12, 2020

Ya, that sounds more robust than writing an actual shell script.

0reactions
asvetliakovcommented, Sep 5, 2020

Seems the PR doesn’t work at all and breaks bash shells as well. I don’t have Win/WSL installed right now, so PRs are welcome here

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I get Windows 10 Terminal to launch WSL?
First enter ubuntu in cmd, take a little time to start Ubuntu, set the username and password. Then you can play with Ubuntu...
Read more >
Basic commands for WSL | Microsoft Learn
Basic commands for WSL · Install · List available Linux distributions · List installed Linux distributions · Set WSL version to 1 or...
Read more >
How to launch the WSL Ubuntu "Console" from the command ...
I'm struggling to launch the WSL "Ubuntu 20.04" Store App (or any Store App, really) from the command-line (e.g. PowerShell or CMD).
Read more >
Work in Windows Subsystem for Linux with Visual Studio Code
After restarting Windows, you can check that you have WSL enabled by opening a Command Prompt and typing 'wsl'. WSL check. WSL is...
Read more >
"The parameter is incorrect" when launching wsl #8129 - GitHub
Version Microsoft Windows [Version 10.0.19044.1586] WSL Version WSL 2 WSL 1 Kernel Version 5.10.60.1 Distro Version Ubuntu 20.04 Other Software No response ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found