Make cmd
platform independent
#1400
Labels
state: needs triage
Waiting to be triaged by a maintainer.
cmd
platform independent
#1400
Great tool!
However, I am really wondering why
cmd
is really a string. Isn't this bringing all the caveats withshell
s and quoting/word splitting to the table.I really hoped to at least see something like
cmd: ["docker", "run", ...]
which is actually the most sane way to specify a pure command on any OS. I did the same in Githooks.So I propose to make the
cmd
variable at leaststring|[]string
which meansstring
: Normal shell execution what ever the shell is on the system. Maybe specifiable in the Taskfile.yaml (other Feature request.).[]string
: Execute the process [0] with the given arguments [1..].That makes the whole task definition much more sane.
The same is true for
.CLI_ARGS
which is a string, which is not helpful, it should be[]strings]
The text was updated successfully, but these errors were encountered: