Skip to content

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

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()?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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