Commit Graph

3 Commits

Author SHA1 Message Date
Tommi Virtanen
37c94af8a7 Pyflakes cleanup. 2011-05-24 13:12:21 -07:00
Tommi Virtanen
073a4bbc18 Paramiko ChannelFile.close() didn't actually close the remote stdin.
Add a wrapper that does the calls shutdown on the channel itself,
to actually cause EOF. Add integration test using remote cat.

Move shuffling stdout bytes to background, so run.run returns before
seeing EOF on stdout, and thus actually making the stdin useful.
Similarly, don't wait for EOF on stderr before returning from run.run.
2011-05-24 13:06:00 -07:00
Tommi Virtanen
9a5c959bc8 Add integration tests for signals and connection loss. 2011-05-19 13:27:32 -07:00