bfg / mojox-run

MojoX::Run - asynchronous external command execution for Mojo
5 stars 3 forks source link

several fixes to work with newer mojoliciouses #6

Open zpmorgan opened 11 years ago

zpmorgan commented 11 years ago

This mostly involves Mojo::IOLoop and its deprecated features & renamed methods.

$loop->drop has been renamed $loop->ignore. $loop->connect was deprecated in favor of clients & streams. So 3 streams had to be initialized for each process. IOWatcher was renamed(?) Reactor.

A new test, mojox-run-isolated-chld-signals.t. Child processes were signaling other child processes when run simultaneously. That seems to be mitigated by adding a condition in the destructor.