You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
the built-in exec command break ssh ProxyJump #3703
This issue is being marked stale because it has been open for 90 days without activity. If you feel that this is in error, please comment below and we will keep it marked as active.
This issue has been marked stale for more than 10 days without activity. Closing this issue, but if you find that the issue is still valid, please reopen.
Activity
github-actions commentedon Sep 27, 2021
This issue is being marked stale because it has been open for 90 days without activity. If you feel that this is in error, please comment below and we will keep it marked as active.
github-actions commentedon Oct 8, 2021
This issue has been marked stale for more than 10 days without activity. Closing this issue, but if you find that the issue is still valid, please reopen.
fdncred commentedon Oct 15, 2021
this issue comes up frequently. better exec support is needed.
alechp commentedon Oct 25, 2021
exec kubectl exec -i -t -n default foobar -c baz "--" sh -c "clear; (bash || ash || sh)"Auto-generated lens command fails for same reason. Not quite sure how to work around this (besides temporary chsh)
kubouch commentedon Oct 26, 2021
@alechp Try wrapping the flags into quotes or double quotes, like this:
exec kubectl exec '-i' '-t' ....sophiajt commentedon Oct 26, 2021
@kubouch this feels like it would need some parser changes to get better support. Might be a good candidate for adding to engine-q's parser
kubouch commentedon Oct 26, 2021
@jntrnr Yeah, I was thinking it could be a parser keyword and we would pass everything after
exec programas arguments toprogram, no matter what.alechp commentedon Oct 26, 2021
That resolved it. Thank you!

kubouch commentedon Oct 27, 2021
I'll close this issue since there is an older one open already on this topic.