rust-shell-script / rust_cmd_lib

Common rust command-line macros and utilities, to write shell-script like tasks in a clean, natural and rusty way
https://docs.rs/cmd_lib/
Apache License 2.0
1.04k stars 35 forks source link

spawn with output #58

Closed shiqicao closed 9 months ago

shiqicao commented 9 months ago

This is a very handy tool, finally I don't need to write bash.

It would be nice to have spawn pipe out stdout and stderr, at least provide a default option, just log it with a prefix.

rust-shell-script commented 9 months ago

See https://github.com/rust-shell-script/rust_cmd_lib#logging