提交 7748d64a 编写于 作者: J Jon Leighton

Send SIGTERM, not SIGQUIT.

SIGTERM is the correct signal for a graceful exit.

This will hopefully resolve #9761.
上级 79c02e84
......@@ -127,7 +127,7 @@ def write_prompt(command, expected_output = nil)
end
def kill(pid)
Process.kill('QUIT', pid)
Process.kill('TERM', pid)
Process.wait(pid)
rescue Errno::ESRCH
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册