class documentation
A socket-like object that talks to a subprocess via pipes.
| Method | __init__ |
Initialize a SubprocessWrapper. |
| Method | can |
Check if there is data available to read. |
| Method | close |
Close the subprocess and wait for it to terminate. |
| Instance Variable | proc |
Undocumented |
| Instance Variable | read |
Undocumented |
| Instance Variable | write |
Undocumented |
| Property | stderr |
Return the stderr stream of the subprocess. |
Initialize a SubprocessWrapper.
| Parameters | |
proc:subprocess.Popen[ | Subprocess.Popen instance to wrap |
Close the subprocess and wait for it to terminate.
| Parameters | |
timeout:int | None | Maximum time to wait for subprocess to terminate (seconds) |
| Raises | |
GitProtocolError | If subprocess doesn't terminate within timeout |