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
Command tokenisation is failing on bash command shells #12485
Comments
|
I ran into this a few more times, but no longer have logs. Basically the same issue. To clarify, this issue does not appear to be specific to My guess is that the issue is due to output tokenisation, and |
Hi! This issue has been left open with no activity for a while now. We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 30 days since the last update here. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. |
Command tokenisation is failing on bash command shells.
I'm pretty sure this wasn't always the case.
I've run into this issue using bash shells on Linux (modern bash, using a reverse bash shell) and Solaris (old bash ~2013, using bash shell from
ssh_login
) this week.Command output returned from
cmd_exec
is malformed.Output from
sessions
is also malformed (see session21
).Edit: This is the third time this issue has been encountered. It was fixed upon initial discovery a year or two ago, then reintroduced, then fixed, and now present again.
Clearly the test cases related to
cmd_exec
are inadequate. The code responsible for introducing this issue likely needs some code comments documenting the reason for using the current code pattern, and warning against modification.The text was updated successfully, but these errors were encountered: