OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, proc, args) |
def | __del__ (self) |
def | __getattr__ (self, attr) |
def | wait (self, stderr=b'') |
Data Fields | |
proc | |
args | |
Kill/Interrupt the stored process instance once this instance goes out of scope. It is used to prevent processes piling up in case iterators stop reading. Besides all attributes are wired through to the contained process object. The wait method was overridden to perform automatic status code checking and possibly raise.
def __init__ | ( | self, | |
proc, | |||
args | |||
) |
def __del__ | ( | self | ) |
def __getattr__ | ( | self, | |
attr | |||
) |
def wait | ( | self, | |
stderr = b'' |
|||
) |
Wait for the process and return its status code. :param stderr: Previously read value of stderr, in case stderr is already closed. :warn: may deadlock if output or error pipes are used and not handled separately. :raise GitCommandError: if the return status is not 0
args |
proc |