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.05k stars 37 forks source link

spawn with output #58

Closed shiqicao closed 10 months ago

shiqicao commented 10 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 10 months ago

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