axw/pushy — Issue #6: I/O redirection requires call to Connection.__handle()
Author: axw
Created: 2012-02-07 15:00:22+00:00
State: open
Labels: Fix Released, High

Presently the I/O redirection in the server-side of a Pushy connection will make calls to the client's sys.stdout/sys.stderr write() methods. This is a standard proxy object method invocation, and so requires that the client be invoking "__handle()" to handle a message.

The need to continuously handle messages is made apparent when the captured output is written back to the client *after* the command is invoked. For example, if a client calls subprocess.Popen(...), the call will complete but output may be generated afterwards.