Skip to content
Snippets Groups Projects
Commit f0ee8be8 authored by Marius Vlad's avatar Marius Vlad
Browse files

terminal: Restore SIGPIPE signal handler to oldact (SIG_DFL)

Prior to executing a new command restore the parent process to the
default SIG_DLF handler as we normally use SIG_IGN it to avoid
crashing on pasted input.

As we seem to be hitting a Broken Pipe message when running
certain scripts, it seem we need to restore back the
default handler.

This is similar to what other folks have been doing in
https://github.com/labwc/labwc/issues/1209

.

Fixes: #994

Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent 46f25304
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment