-
-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Denon's stdCmd()
function does not parse/split the command correctly.
To Reproduce
- Use
cmd: "bash -c 'echo \"HELLO\"'"
. - Try to run that task
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
- OS: macOS
- Deno version:
deno 1.46.3 (stable, release, aarch64-apple-darwin)
- Denon version:
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)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working