mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
ignore SIGPIPE signal for custom pagers
This commit is contained in:
parent
e7f82b6a8c
commit
2a42fe8f3f
@ -957,6 +957,7 @@ private:
|
||||
String pager = config().getString("pager", "");
|
||||
if (!pager.empty())
|
||||
{
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
pager_cmd = ShellCommand::execute(pager, true);
|
||||
out_buf = &pager_cmd->in;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user