✨SIGCHLDを無視しようとしてSignal.#trapにnilを渡すと怒られる2020/10/09に公開Rubybugtech trap.rb puts Signal.trap("SIGCHLD", nil) `ls` puts "hello" 実行結果 DEFAULT Traceback (most recent call last): 1: from trap.rb:2:in `<main>' trap.rb:2:in ``': undefined method `call' for nil:NilClass (NoMethodError) Discussion
Discussion