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

Spawning terminal in container breaks with space in path to kubectl #1245

Open
jplitza opened this issue Jan 16, 2024 · 0 comments
Open

Spawning terminal in container breaks with space in path to kubectl #1245

jplitza opened this issue Jan 16, 2024 · 0 comments

Comments

@jplitza
Copy link

jplitza commented Jan 16, 2024

I installed kubectl system-wide in "C:\Program Files\Git\usr\local\bin\kubectl.exe", but the space caused an error when launching a terminal in a pod from the extension pane.

Apparently there are too many quotes added. In the Host Pty log the following line looks suspicious:

2024-01-16 14:43:08.824 [trace] [RPC Request] PtyService#createProcess({"name":"bash on pod/container","executable":"\"C:\\Program Files\\Git\\usr\\local\\bin\\kubectl.exe.exe\"","args":["exec","-it",...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant