Hi,

Just wanted to know (before I open a ticket on github), if there was a
reason, why when I run a process using the process component, the component
takes over the timeout handling himself?

The problem is, that 'wait()' either never returns, or throws an exception,
but doesn't allow to silently return (with null for example), when the
process is fine, but there is simply no further data.

What I had in mind was to run several projects separately and poll theire
output sequentially like in


while (true) {
  $p1->isRunning() and $p1->wait($cb, 0);
  $p2->isRunning() and $p2->wait($cb, 0);

  if (!$p1->isRunning() && !$p2->isRunning()) break;
  sleep(1);
}

Regards,
Sebastian
-- 
github.com/KingCrunch

-- 
-- 
If you want to report a vulnerability issue on Symfony, please read the 
procedure on http://symfony.com/security

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Symfony developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to symfony-devs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to