Skip to content

Weird argument passing when running shell commands #3875

@htogta

Description

@htogta

I noticed that when the && operator is used in a shell command after Ctrl-b, it seems like everything after the && operator just gets passed as an argument to the previous command rather than those commands being executed separately.

For example, doing Ctrl-b and inputting echo "one" && echo "two" ends up printing one && echo two. This happens when doing things without the string literals as well- for example, running date && date has the first date command fail and print an "extra operand 'date'" error. These same issues happen with run.

I'm using version 2.0.15-dev.245, but it doesn't seem like any commits since this version have affected this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions