Crate cmd_lib_macros

Source

Macros§

cmd_die
Log a fatal message at the error level, and exit process.
run_cmd
Run commands, returning CmdResult to check status.
run_fun
Run commands, returning FunResult to capture output and to check status.
spawn
Run commands with/without pipes as a child process, returning CmdChildren result.
spawn_with_output
Run commands with/without pipes as a child process, returning FunChildren result.
use_custom_cmd
Import user registered custom command.

Attribute Macros§

main
Mark main function to log error result by default.