Skip Menu |

This queue is for tickets about the IO-Async CPAN distribution.

Report information
The Basics
Id: 78477
Status: new
Priority: 0/
Queue: IO-Async

Owner: Nobody in particular
Requestors: leonerd-cpan [...]

Bug Information
Severity: Normal
Broken in: 0.52
Fixed in: (no value)

Subject: Can't easily use IaProcess streams as Protocol transports
Download (untitled) / with headers
text/plain 551b
This seems reasonable: my $child = IO::Async::Process->new( command => $command, stdio => { via => 'pipe_rdwr' }, on_finish => sub { print STDERR "Child exited unexpectedly\n"; }, ); $self->configure( transport => $child->stdio, ); $self->add_child( $child ); However it fails: Cannot add a child that already has a parent at /home/leo/lib/perl5/IO/Async/ line 324 because the underlying IaStream wants to be a child both of the Process and of the Protocol. Oops. -- Paul Evans

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to