etienne fait mois des en fants
This commit is contained in:
parent
be1f7ebf8c
commit
a48da783dd
@ -6,7 +6,7 @@
|
||||
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/02/15 14:18:21 by cchauvet #+# #+# */
|
||||
/* Updated: 2023/04/07 15:04:04 by alouis-j ### ########.fr */
|
||||
/* Updated: 2023/04/07 15:17:21 by alouis-j ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -49,7 +49,7 @@ void ft_cmdwaiter(void *ptr)
|
||||
|
||||
cmd = ptr;
|
||||
if (cmd->executable != NULL && cmd->own_cmd == 0
|
||||
&& cmd->pid != -1 && cmd->fd_in[0] != -2 && cmd->fd_out[0] != -2)
|
||||
&& cmd->pid != -1 && cmd->fd_in[0] != -2 && cmd->fd_out[0] != -2)
|
||||
{
|
||||
waitpid(cmd->pid, &exit_status, 0);
|
||||
if (WIFSIGNALED(exit_status))
|
||||
|
Loading…
Reference in New Issue
Block a user