sophiakoulen / minishell

A simplified bash-like shell, with pipes, redirections and variable expansion.
3 stars 1 forks source link

silent_signals() enhancement #146

Open sophiakoulen opened 1 year ago

sophiakoulen commented 1 year ago

I saw in the code comments in signals.c that SIG_IGN is inherited by new inherited by execve() process. But maybe there are some flags we can use to avoid this. Check out this: (https://stackoverflow.com/questions/1023955/signals-dont-re-enable-properly-across-execv).

znichola commented 1 year ago

That's an interesting find, it could be interesting to playaround with the flags some more.