Console Cntl event is sent to root process sharing the console
This commit is contained in:
parent
cec45aedb5
commit
eb765913c1
Notes:
git
2025-04-04 12:12:50 +00:00
@ -82,6 +82,7 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
|
|||||||
timeouts = {nil => first_timeout, INT: 30, TERM: 10, KILL: nil}
|
timeouts = {nil => first_timeout, INT: 30, TERM: 10, KILL: nil}
|
||||||
if /mingw|mswin/ =~ RUBY_PLATFORM
|
if /mingw|mswin/ =~ RUBY_PLATFORM
|
||||||
timeouts.delete(:TERM) # Inner process signal on Windows
|
timeouts.delete(:TERM) # Inner process signal on Windows
|
||||||
|
timeouts.delete(:INT) # root process will be terminated too
|
||||||
group = :new_pgroup
|
group = :new_pgroup
|
||||||
pg = ""
|
pg = ""
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user