swyddfa / esbonio

A language server for working with Sphinx projects.

Home Page:https://docs.esbon.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Esbonio server start command should quote the python path

DiegoF90 opened this issue · comments

Starting the server when using a default python path with spaces fails.
For example:

Server start command: C:\Program Files (x86)\python\env_local\Scripts\python.exe -m esbonio

Fails with:

'C:\Program' is not recognized as an internal or external command, operable program or batch file.

Unfortunately, I’m struggling to reproduce this on my Windows install…

Can I confirm that you are using the Esbonio VSCode extension and if so what version?
I ask since the reStructuredText extension also has support for esbonio and judging by the comments in vscode-restructuredtext/vscode-restructuredtext#406 it may or may not still be affected by this issue.

Closing as this is most likely a duplicate of #658 and not something that can be fixed from this repo.
Feel free to reopen if this is in fact an issue with the Esbonio extension!