Skip to content

How to get the result of --- init data section? #167

@outsinre

Description

@outsinre

Suppose I have a block look like this:

=== TEST 2: test init
--- init
    my $file = glob('compose.txt') ;
    my @cmd = ("docker", "compose", "-f", $file, "ps") ;
    system(@cmd) ;

How do I capture the output of system()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions