Skip to content

Commit 1bf72b5

Browse files
committed
Add a TODO note about kill signals
1 parent 5c8b82f commit 1bf72b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Whateverable.pm6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ method get-output(*@run-args, :$timeout = $!timeout) {
6868
my $s-end = now;
6969

7070
if not $promise.status ~~ Kept { # timed out
71-
$proc.kill;
71+
$proc.kill; # TODO sends HUP, but should kill the process tree instead
7272
@out.unshift: «timed out after $timeout seconds, output»: ;
7373
}
7474
return (@out.join.chomp, $promise.result.exitcode, $promise.result.signal, $s-end - $s-start)

0 commit comments

Comments
 (0)