pretty-exec-lib 0.5.0

Print a command and then execute it
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::io;
use thiserror::Error;

#[derive(Debug, Error)]
pub enum Error {
    #[error("Program is not specified")]
    ProgramNotSpecified,
    #[error("Failed to get status code")]
    StatusCodeAcquisitionFailure,
    #[error("Failed to spawn subprocess: {}", _0)]
    ExecutionError(io::Error),
}