v0.20.0
[0.20.0] - 2024-04-08
-
Show stdout, stderr when
system
command fails. -
Support matching stdout for
system
system ok echo "Hello, world!" ---- Hello, world!
Currently, only exact match is supported. Besides, the output cannot contain more than one blank lines in between. The record ends with two consecutive blank lines.
Some minor Breaking changes:
- Add field
stdout
toparser::Record::System
andrunner::RecordOutput::System
, and mark them as#[non_exhaustive]
. - Change trait method
AsyncDB::run_command
's return type fromstd::process::ExitStatus
tostd::process::Output
.
- Add field