pipeline_exec() complete

+ TODO : simple_cmd_builtin()
+ libft small update
This commit is contained in:
LuckyLaszlo
2021-11-18 12:38:27 +01:00
parent 26993144cc
commit 91d5a0d14c
6 changed files with 120 additions and 26 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/10 23:53:17 by lperrey #+# #+# */
/* Updated: 2021/11/17 01:25:35 by lperrey ### ########.fr */
/* Updated: 2021/11/18 03:09:46 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -16,7 +16,7 @@ int free_exit(t_all *c, int exit_status)
{
free(c->prompt_base);
free(c->prompt);
ft_lstclear((t_list **)&c->token_list, free); // a voir avec Hugo, il y a un truc qui me semble superflu dans la fonction
ft_lstclear((t_list **)&c->token_list, free);
ft_free_2d_arr(c->envp);
ft_free_2d_arr(c->path);
free_pipeline(&c->cmd_arr);