develooper Front page | perl.perl6.users | Postings from July 2017

Proc::Async .kill does not work on Bailador

From:
Gabor Szabo
Date:
July 8, 2017 06:39
Subject:
Proc::Async .kill does not work on Bailador
Message ID:
CABe4FJB3EBic7KzPoQnfZsqrpZRigdnhKE=MTKu+JdM1qEXBUw@mail.gmail.com
Hi,

In a test of Bailador we are launching an instance of Bailador using
Proc::Async and then when we are done we would like to kill the other
process using .kill(9)
Unfortunately this does not seem to have any impact on the process and
it keeps running even after we send that kill signal.

(at leas on OSX and "This is Rakudo version 2017.04.3 built on MoarVM
version 2017.04-53-g66c6dda implementing Perl 6.c." where I tried.)

I can use the "kill" on the command line and that kills the process.

The code is in the subtest on line 120 in this commit:

https://github.com/Bailador/Bailador
/blob/06301f145281f811a4448237e07b8e0be201b195/t/20-cli.t#L102

If you have any thoughts of why this might happen, I'd appreciate your help.

Gabor



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About