Crates.io | runcc |
lib.rs | runcc |
version | 2.0.3 |
source | src |
created_at | 2021-09-09 19:34:42.013824 |
updated_at | 2023-01-20 17:36:16.6204 |
description | run commands concurrently with rust and cargo |
homepage | https://github.com/runcc-rs/runcc |
repository | https://github.com/runcc-rs/runcc |
max_upload_size | |
id | 448996 |
size | 111,119 |
cargo install runcc
You can use cargo runcc --help
to see detailed help messages.
Use -c
option to run with a config file
If no config file is specified, runcc will auto look for runcc.{json, yaml, yml, ron, toml}
and package.metadata.runcc
or workspace.metadata.runcc
fields in Cargo.toml
in current working directory.
cargo runcc -c
If a directory is specified, runcc will look for those files in that directory
cargo runcc -c .
If a file is specified, runcc will auto recognize formats from file extension.
*.{json, yaml, yml, ron, toml}
and Cargo.toml
are supported.
cargo runcc -c my-config.yml
cargo runcc "command1" "command2 a b c"
Why using tokio instead of std::process::Command
and std::thread
?
std::process::Command
doesn't support to be killed while being waited.