-
Notifications
You must be signed in to change notification settings - Fork 50
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
Expose buildCmd
#151
Labels
Comments
I think it would be nice to be able to use an |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know how much spread is this need. In my specific case, I need to access the underlying
exec.Cmd
that is built inbuildCmd
without starting it. Currently, all the exposed functions that returnicmd.Result
already started the underlyingexec.Cmd
.In case you wonder why I need to do this, here's some context. I need to test an interactive REPL, so I'm using this. The entrypoint of
pty
is this function:so I'd like to do something like:
The text was updated successfully, but these errors were encountered: