Remove ignore_interrupts in SystemCommand.

This commit is contained in:
Markus Reiter 2024-07-14 14:42:12 -04:00
parent 447216a960
commit 78d18354b6
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -238,14 +238,12 @@ class SystemCommand
} }
options[:chdir] = chdir if chdir options[:chdir] = chdir if chdir
raw_stdin, raw_stdout, raw_stderr, raw_wait_thr = ignore_interrupts do raw_stdin, raw_stdout, raw_stderr, raw_wait_thr = Open3.popen3(
Open3.popen3(
env.merge({ "COLUMNS" => Tty.width.to_s }), env.merge({ "COLUMNS" => Tty.width.to_s }),
[executable, executable], [executable, executable],
*args, *args,
**options, **options,
) )
end
write_input_to(raw_stdin) write_input_to(raw_stdin)
raw_stdin.close_write raw_stdin.close_write