Skip to content

FR (Feature Request): allow STDOUT, STDERR capturing #24

@KES777

Description

@KES777

use Try::Tiny ':capture'; #use Capture::Tiny;

try {
....
}
catch {
...
log( 'Died. Its output is:' . $stdout );
}
capture $stdout, $stderr;

I can not figure out easy and not ugly structure to capture output with Capture::Tiny

It will be not hard if this will be implemented:
dagolden/Capture-Tiny#34

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions