debut signal

This commit is contained in:
2024-03-22 20:12:25 +01:00
parent 2718546387
commit 7b6c75b5c3
8 changed files with 59 additions and 14 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/07 14:12:49 by tomoron #+# #+# */
/* Updated: 2024/03/21 13:42:56 by tomoron ### ########.fr */
/* Updated: 2024/03/22 17:48:45 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -93,4 +93,6 @@ void exec_commands(t_msh *msh)
free(msh->fds);
msh->fds = 0;
free(msh->pids);
signal(SIGINT, signal_handler_interactive);
signal(SIGQUIT, signal_handler_interactive);
}