Skip to content

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

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

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions