|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, verbose=False, progress=None) |
| def | reader (self, stream, context) |
| def | run_command (self, cmd, **kwargs) |
Data Fields | |
| verbose | |
| progress | |
Mixin for running subprocesses and capturing their output
| def __init__ | ( | self, | |
verbose = False, |
|||
progress = None |
|||
| ) |
| def reader | ( | self, | |
| stream, | |||
| context | |||
| ) |
Read lines from a subprocess' output stream and either pass to a progress callable (if specified) or write progress information to sys.stderr.
| def run_command | ( | self, | |
| cmd, | |||
| ** | kwargs | ||
| ) |
| progress |
| verbose |