Skip to content

bug(run): cannot parse arguments that end in a backslash #4579

@hab25

Description

@hab25

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

$ bash
$ ~/.pixi/bin/pixi --version
pixi 0.54.2
$ ~/.pixi/bin/pixi run foo 'bar\qux\'
Error:   × failed to parse shell script. Task: 'foo "bar\\qux\\" '
  ╰─▶ Expected closing double quote.
        "bar\\qux\\"
        ~

Issue description

also happens in 0.53.0

Expected behavior

no error, command runs successfully

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:runRelated to pixi runbugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions