qubit-command 0.2.1

Command-line process running utilities for Rust
Documentation
/*******************************************************************************
 *
 *    Copyright (c) 2026.
 *    Haixing Hu, Qubit Co. Ltd.
 *
 *    All rights reserved.
 *
 ******************************************************************************/
use std::{
    io,
    path::PathBuf,
};

/// Error reported by an output reader thread.
#[derive(Debug)]
pub(crate) enum OutputCaptureError {
    /// Reading from the child pipe failed.
    Read(io::Error),
    /// Writing to a tee file failed.
    Write {
        /// Tee file path.
        path: PathBuf,
        /// I/O error reported by the writer.
        source: io::Error,
    },
}