assemble-std 0.2.0

The standard library for assemble
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Contains code for the exec task.

use crate::specs::exec_spec::ExecSpec;

/// The exec task runs a generic program using the built-in command runner of the OS
#[derive(Debug, Default)]
pub struct Exec {
    /// The exec spec of the task
    pub spec: ExecSpec,
}

/// Returned when the execution returns a non-zero exit code.
#[derive(Debug, thiserror::Error)]
#[error("Execution returned with non-zero exit code.")]
pub struct ExecError;