Closed melobern closed 4 months ago
>>> Minishell>$ << coucou wc | cat
cou
coucou
==31479==
==31479== FILE DESCRIPTORS: 5 open (3 std) at exit.
==31479== Open file descriptor 4:
==31479== at 0x49D407D: pipe (pipe.c:29)
==31479== by 0x110ACE: safe_pipe (in /home/melodie/42_minishell/minishell)
==31479== by 0x111194: exec_several_cmds (in /home/melodie/42_minishell/minishell)
==31479== by 0x10FE70: execute_cmds (in /home/melodie/42_minishell/minishell)
==31479== by 0x109747: minishell_interactive (in /home/melodie/42_minishell/minishell)
==31479== by 0x1099B3: main (in /home/melodie/42_minishell/minishell)
==31479==
==31479== Open file descriptor 3:
==31479== at 0x49D407D: pipe (pipe.c:29)
==31479== by 0x110ACE: safe_pipe (in /home/melodie/42_minishell/minishell)
==31479== by 0x111194: exec_several_cmds (in /home/melodie/42_minishell/minishell)
==31479== by 0x10FE70: execute_cmds (in /home/melodie/42_minishell/minishell)
==31479== by 0x109747: minishell_interactive (in /home/melodie/42_minishell/minishell)
==31479== by 0x1099B3: main (in /home/melodie/42_minishell/minishell)
-> Corriger le heredoc, ou les enfants, ou les deux.