-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
npm/run-script
#78Labels
Bugthing that needs fixingthing that needs fixingPriority 2secondary priority issuesecondary priority issueRelease 8.xwork is associated with a specific npm 8 releasework is associated with a specific npm 8 releasecmd:execrelated to `npx`related to `npx`
Description
Brief
npx
and npm exec
pass ESCAPED multiline string, instead of original string.
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
$ npx cowsay -- "$(node --version; npm --version)"
__________________
< v14.16.0\n7.15.0 >
------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Expected Behavior
cowsay "$(node --version; npm --version)"
__________
/ v14.16.0 \
\ 7.15.0 /
----------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Steps To Reproduce
docker run -it node /bin/bash
npx cowsay "$(node --version; npm --version)"
Environment
Docker: node
- OS: Debian GNU/Linux 9 (stretch)
- Node: v15.14.0 - v17.4.0
- npm: 7.7.6 - 8.3.1
lxe and markrmullan
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingPriority 2secondary priority issuesecondary priority issueRelease 8.xwork is associated with a specific npm 8 releasework is associated with a specific npm 8 releasecmd:execrelated to `npx`related to `npx`