Ticket #661 (closed todo: done)
[TODO] Capture output of subprocesses
Reported by: | pmichaud | Owned by: | allison |
---|---|---|---|
Priority: | normal | Milestone: | 1.4 |
Component: | core | Version: | 1.1.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | perl6 | |
Patch status: | Platform: |
Description
As mentioned in http://lists.parrot.org/pipermail/parrot-dev/2009-April/002067.html, we need some way to be able to run a subprocess and capture its output, similar to Perl 5's backticks.
From today's #parrotsketch:
19:22 <pmichaud> (2) ability to run processes and capture the output -- immediate need for qx{ } and friends 19:23 <allison> you mean like perl 'system'? 19:23 <pmichaud> yes, or perl 5 backticks 19:23 <moritz> no, like perl's backticks 19:23 <pmichaud> we have 'system' already 19:23 <moritz> system in perl 5 doesn't capture the output 19:23 <pmichaud> (it's called 'run') 19:25 <allison> pmichaud: okay, backticks are the I/O pipe functionality, which does need fixing. IIRC, you have a ticket in for that? If not, put one in and make me owner. Would be nice to have that working for 1.2. 19:25 <pmichaud> I will make sure there's a ticket with your name on it.
See also RT #62024.
Thanks,
Pm
Change History
Note: See
TracTickets for help on using
tickets.