Remove ignore_interrupts in SystemCommand.
This commit is contained in:
parent
447216a960
commit
78d18354b6
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user