You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like the only "official" way at the moment is to poll "pumpable" until it returns false, but this isn't really documented either. Additional text for the perldoc for 'pumpable' like:
To wait for a child process to exit during an event loop, test $h->pumpable until it returns false.
The text was updated successfully, but these errors were encountered:
Migrated from rt.cpan.org#114447 (status was 'open')
Requestors:
From drolsky@cpan.org on 2016-05-17 20:36:29:
The ->result and ->full_result methods return nothing if all the children have exited 0. They also return nothing if none of the children have exited.
The only way to see if the children have actually exited is to look at ->results or ->full_results.
This is kind of annoying. It'd be nice if there was a simply way to get the status, zero or not.
From ringerc@cpan.org on 2016-11-17 05:55:10:
Strongly agree. Newer IPC::Run doesn't let you just call 'results' either, since it calls _assert_finished which will die() if still busy.
It'd be good to expose a:
->finished
or similar, with similar semantics to ->result (no index = first child, otherwise n'th child).
The docs don't mention how to tell whether a child or all children has exited at all. Even a minimal'finished' method like
would be helpful.
It seems like the only "official" way at the moment is to poll "pumpable" until it returns false, but this isn't really documented either. Additional text for the perldoc for 'pumpable' like:
The text was updated successfully, but these errors were encountered: