Skip to content

Error output when cd'ing into dev'd folder where path contains & #51

@gaggle

Description

@gaggle

It looks like dev is sensitive to e.g. ampersand in paths, resulting in errornous error-like output:

$ dev --version
dev 1.8.0

$ which node
node not found

$ pwd
/Users/gaggle/Projects/pkgx-pathing-issues

$ cd foo\ \&\ bar/

$ cat package.json 
{
  "type": "module"
}

$ dev

$ which node
/Users/gaggle/.pkgx/nodejs.org/v24.4.0/bin/node

$ cd ..
-nodejs.org

$ cd foo\ \&\ bar/
[6] 49172
[6]  + done       set +a /Users/gaggle/Projects/pkgx-pathing-issues/foo
(eval):64: command not found: bar

$ which node
/Users/gaggle/.pkgx/nodejs.org/v24.4.0/bin/node

This output shows dev continues to work, but the [6] 49172 [6] + done set +a /Users/gaggle/Projects/pkgx-pathing-issues/foo (eval):64: command not found: bar presumably indicates some error somewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions