Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Can't catch output from external programs or library bindings. #2

Open
dagurval opened this issue Apr 24, 2013 · 1 comment
Open

Can't catch output from external programs or library bindings. #2

dagurval opened this issue Apr 24, 2013 · 1 comment
Assignees

Comments

@dagurval
Copy link

The module is unable to catch output from programs executed, or output from language bindings (things that use module NativeCall).

Example:

  perl6 -e "use IO::Capture::Simple; my \$out = capture { shell \"echo cant catch me\"; };"
@ghost ghost assigned sergot Apr 25, 2013
@tadzik
Copy link
Contributor

tadzik commented Apr 22, 2016

This can be done with Proc::Async, panda currently has this functionality: https://github.com/tadzik/panda/blob/6073de4c0bc349d467347e7d2647a6cdb33b74c7/lib/Panda/Common.pm#L65

Only the $has-proc-async branch is worth copying, now that Proc::Async is... 2 years old or so :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants