datalad_next.runners
Execution of subprocesses
This module provides all relevant components for subprocess execution.
Low-level tooling
Few process execution/management utilities are provided, for generic command execution, and for execution command in the context of a Git repository.
alias of |
|
alias of |
|
|
Context manager to communicate with a subprocess using iterables |
|
|
Additional information on the design of the subprocess execution tooling is available from https://docs.datalad.org/design/threaded_runner.html
A standard exception type is used to communicate any process termination with a non-zero exit code
|
Thrown if a command call fails. |
Command output can be processed via "protocol" implementations that are
inspired by asyncio.SubprocessProtocol
.
|
WitlessProtocol that swallows stdout/stderr of a subprocess |
|
WitlessProtocol that captures no subprocess output |
|
WitlessProtocol that only captures and returns stdout of a subprocess |
|
WitlessProtocol that only captures and returns stderr of a subprocess |
|
WitlessProtocol that captures and returns stdout/stderr of a subprocess |