Skip to content

Commit

Permalink
Merge branch '1.16'
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Dec 11, 2015
2 parents 66b70e4 + 6474ce8 commit a633c8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions paramiko/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,11 +306,11 @@ def recv_exit_status(self):
`.Transport` or session's ``window_size`` (e.g. that set by the
``default_window_size`` kwarg for `.Transport.__init__`) will cause
`.recv_exit_status` to hang indefinitely if it is called prior to a
sufficiently large `.read` (or if there are no threads calling
`.read` in the background).
sufficiently large `~Channel..read` (or if there are no threads
calling `~Channel.read` in the background).
In these cases, ensuring that `.recv_exit_status` is called *after*
`.read` (or, again, using threads) can avoid the hang.
`~Channel.read` (or, again, using threads) can avoid the hang.
:return: the exit code (as an `int`) of the process on the server.
Expand Down

0 comments on commit a633c8c

Please sign in to comment.