Open
Description
Really enjoying using script however there have been a couple of use cases where I have wanted to avoid interpolating the Exec
args into a single cmdLIne (and worrying about quoting - which can be complex if dealing with arbitrary input) - it would be useful to add an Execv(cmd string, args []string)
method which passes the cmd and args separately as []string (which is what gets passed to exec.Command anyway so saves re-parsing the command line).
I've added an example implementation in #189
Metadata
Metadata
Assignees
Labels
No labels