From aac365819916d3c4409d430d7fc912e88a37c3f6 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Sat, 21 Jan 2023 19:40:28 +0100 Subject: [PATCH] WIP: Work on finding out why signal failes --- lib/aruba/processes/spawn_process.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/aruba/processes/spawn_process.rb b/lib/aruba/processes/spawn_process.rb index 4d2ce1849..79c769bce 100644 --- a/lib/aruba/processes/spawn_process.rb +++ b/lib/aruba/processes/spawn_process.rb @@ -83,6 +83,8 @@ def exit_code def send_signal(signal) Process.kill signal, @pid + rescue Error::EINVAL + warn "Failed for #{signal} and #{@pid}" end end