google/goexpect

Tee option does not work with SpawnSSH or SpawnGeneric

blalor opened this issue · 2 comments

SpawnSSH and SpawnGeneric both use waitForSession which appears to use a different code path than SpawnWithArgs, and the output does not pass through teeWriter.

Hey Brian.

As I'm pretty swamped atm. I tagged as "help wanted".
Pull requests welcome.

Now that #37 is merged, I think this can be closed.