2.1.22.9.3. cli.helpers.spr.SubprocessResult

class cli.helpers.spr.SubprocessResult(returncode: int = 1, out: str = '', err: str = '')

Represent the result of a subprocess execution.

returncode

The return code from the process.

Type:

int

out

The standard output captured from the process.

Type:

str

err

The standard error output captured from the process.

Type:

str

__init__(returncode: int = 1, out: str = '', err: str = '') None

Methods

__init__([returncode, out, err])

Attributes

err

standard error of the process

out

standard out of the process

returncode

returncode of the process