New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execv function #190
Comments
I'd like to work on this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 anExecv(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
The text was updated successfully, but these errors were encountered: