Skip to content

v0.20.0

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Apr 09:14
38030ac

[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 to parser::Record::System and runner::RecordOutput::System, and mark them as #[non_exhaustive].
    • Change trait method AsyncDB::run_command's return type from std::process::ExitStatus to std::process::Output.