-exec/{} feature is ready to merge

Fortune for collect's current commit: Future blessing − 末吉
exec
Avril 2 years ago
parent 9aba1f43a1
commit 5c673ae3c4
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -644,6 +644,7 @@ fn main() -> errors::DispersedResult<()> {
}.wrap_err(eyre!("Failed to close stdout"))?; }.wrap_err(eyre!("Failed to close stdout"))?;
if rc != 0 { if rc != 0 {
if_trace!(error!("Exiting with non-zero code due to child(s) returning non-zero exit status")); //TODO: A flag to disable this? TODO: Also, a flag to stop printing to stdout so consumers of output can use just `-exec/{}` child process `stdout`s is enabled
std::process::exit(rc); std::process::exit(rc);
} }

Loading…
Cancel
Save