Skip to main content

exec_capture

Function exec_capture 

Source
pub fn exec_capture(
    engine: &EngineRef,
    id: &ContainerId,
    program: &str,
    args: &[String],
    cwd: &Path,
    stdout_limit: u64,
    token: &CancelToken,
) -> Result<Captured, ContainerError>
Expand description

One bounded command run inside the container (0037 DC1b): Git and friends. argv-only, supervised, deadline-bounded pipes. The engine was probed by the caller; the container id is canonical.