Expand description
Base building block of the crate.
ⓘ
async fn build() -> steward::Result<()> {
let build_cmd = cmd! {
exe: "cargo build",
env: Env::empty(),
pwd: Loc::root(),
msg: "Building a server",
};
build_cmd.run().await
}
Structs
- Struct holds a specification of a command. Can be used for running one-off commands, long running processes etc.
- Amount of time to wait before killing hanged process.
- Options for
Cmd::spawn
.
Enums
- Enum returned from
Cmd::output
.