Skip to content

Conversation

@htogta
Copy link

@htogta htogta commented Oct 11, 2025

Relevant to this issue.

Added a function to shell.go to fetch what the user's current shell is in order to use that to execute shell commands. This allows for the use of | and && when doing the run command or Ctrl-b which you couldn't do before.

Also reworked some of the code for the run command to no longer use the shellquote join function, as it would escape characters like & when we didn't necessarily want it to, and removed the no-longer-necessary shellquote Split function call from the shell's RunCommand function.

This fix could potentially use some more work- for example, it assumes that the user's shell uses the posix-style -c flag which certain shells might not use.

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

Successfully merging this pull request may close these issues.

1 participant