Console Cntl event is sent to root process sharing the console

This commit is contained in:
Nobuyoshi Nakada 2025-04-04 19:34:04 +09:00
parent cec45aedb5
commit eb765913c1
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
Notes: git 2025-04-04 12:12:50 +00:00

View File

@ -82,6 +82,7 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
timeouts = {nil => first_timeout, INT: 30, TERM: 10, KILL: nil}
if /mingw|mswin/ =~ RUBY_PLATFORM
timeouts.delete(:TERM) # Inner process signal on Windows
timeouts.delete(:INT) # root process will be terminated too
group = :new_pgroup
pg = ""
else