pub fn stream_process<G: 'static + Send>(
child: Child,
guard: G,
) -> Result<BoxStream<'static, SandboxEvent>>Expand description
Stream stdout, stderr, and exit code from a spawned child process.
Keeps guard alive for the duration of the stream (e.g. FUSE mount, inputs guard).