Kaydet (Commit) 4f8add5f authored tarafından Michael Meeks's avatar Michael Meeks

ignore SIGPIPE for zenity

üst 401df5b8
...@@ -2111,6 +2111,7 @@ sub zenity_enabled { ...@@ -2111,6 +2111,7 @@ sub zenity_enabled {
sub zenity_open { sub zenity_open {
if (zenity_enabled()) { if (zenity_enabled()) {
$SIG{PIPE} = 'IGNORE';
my $zenity_pid = open3($zenity_in, $zenity_out, $zenity_err, my $zenity_pid = open3($zenity_in, $zenity_out, $zenity_err,
"zenity --notification --listen"); "zenity --notification --listen");
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment