Skip Menu |

This queue is for tickets about the IPC-Run CPAN distribution.

Report information
The Basics
Id: 64914
Status: new
Priority: 0/
Queue: IPC-Run

Owner: Nobody in particular
Requestors: zqh87660201 [...]

Bug Information
Severity: Important
Broken in: 0.88
Fixed in: 0.88

Subject: when i kill child process, the run function will still be waiting timeout.
Download (untitled) / with headers
text/plain 455b
I set timeout in run function.After I start my main process, I kill the child process, and I found the main process still waiting for a timeout. Here is the code of #!/usr/bin/perl -w use strict; use IPC::Run qw( timeout run ) ; my @exe = ("./"); eval{ run(\@exe,timeout(20)); } if ($@){ print $@; } Here is the code of #!/usr/bin/perl -w use strict; sleep(10);# kill the process at this time print "hello world\n";

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

Please report any issues with to