Install
Usage
You can use cargo runcc --help to see detailed help messages.
with a config file
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}andpackage.metadata.runccorworkspace.metadata.runccfields inCargo.tomlin current working directory. -
If a directory is specified, runcc will look for those files in that directory
-
If a file is specified, runcc will auto recognize formats from file extension.
*.{json, yaml, yml, ron, toml}andCargo.tomlare supported.
with cli arguments
Implementation Details
-
Why using tokio instead of
std::process::Commandandstd::thread?std::process::Commanddoesn't support to be killed while being waited.