Skip to content
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

use an interface for Cmd #19

Open
mischief opened this issue Mar 14, 2016 · 0 comments
Open

use an interface for Cmd #19

mischief opened this issue Mar 14, 2016 · 0 comments

Comments

@mischief
Copy link

it would be great if this package could utilize an interface for the subprocess. that way, a subprocess interface could be implemented on top of other methods of executing a subprocess, such as a pure go ssh client, executing commands on a remote machine.

we use an interface for commands in our project at https://github.com/coreos/mantle/blob/master/system/exec/exec.go#L32 so something similar in gexpect would be fantastic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant