Denon's stdCmd()
function does not parse/split the command correctly.
To Reproduce
cmd: "bash -c 'echo \"HELLO\"'"
.Expected behavior
This command ["bash", "-c", "'echo "HELLO\"'"]
should be executed. Instead, [ "bash", "-c", "'echo",
"HELLO"' ]
is executed.
Configuration or Project
scripts:
dev:
- "bash -c 'echo \"HELLO\"'"
Screenshots
Setup
deno 1.46.3 (stable, release, aarch64-apple-darwin)
v2.5.0
Additional context
I think stdCmd
should consider quotes while splitting the command. I think this might be a good candidate (https://github.com/rgov/node-shlex)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too