-
Notifications
You must be signed in to change notification settings - Fork 23
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
Shell server terminated due to syntax error after running 'code .' #29
Comments
thatLeaflet
changed the title
'-: 2: Syntax error: "(" unexpected' after running 'code .'
Shell server terminated due to syntax error after running 'code .'
May 18, 2022
wjt
added a commit
to wjt/toolbox-vscode
that referenced
this issue
Jul 3, 2024
On Debian-like systems, /bin/sh is dash, which does not support the bash-specific array syntax used in the wrapper script. Don't assume that sh is bash: explicitly invoke bash. Fixes owtaylor#29
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
About My Setup
I'm running Ubuntu 22.04. Since toolbox isn't packaged for Ubuntu, I manually compiled it using the instructions here. Toolbox seems to be working correctly; I created a Fedora 34 container, updated it, and even ran Firefox inside of it.
What I did
code .
Result
Image of VSCode and Error
Possible causes
The text was updated successfully, but these errors were encountered: