bundle.core.process¶
Attributes¶
Exceptions¶
Custom exception for process execution errors. |
Classes¶
Data class to store the result of a process execution. |
|
Capture output from a shell string or a literal argument sequence. |
|
Executes a command asynchronously and streams output line by line. |
Functions¶
|
Normalize literal arguments without splitting or rewriting shell strings. |
Module Contents¶
- bundle.core.process.log¶
- bundle.core.process.Command¶
- bundle.core.process.parse_args(command: Command) tuple[str, ...][source]¶
Normalize literal arguments without splitting or rewriting shell strings.
- class bundle.core.process.ProcessResult(/, **data: Any)[source]¶
Bases:
bundle.core.data.DataData class to store the result of a process execution.
- exception bundle.core.process.ProcessError(process: Process, result: ProcessResult)[source]¶
Bases:
ExceptionCustom exception for process execution errors.
- result¶
- class bundle.core.process.Process(/, **data: Any)[source]¶
Bases:
bundle.core.entity.EntityCapture output from a shell string or a literal argument sequence.