From 59a2ce88389bad4386b90d2518296728f705b1f8 Mon Sep 17 00:00:00 2001 From: yosyo Date: Fri, 21 Jun 2024 09:59:31 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=8F=97=EF=B8=8F=E3=80=8D=20wip(m?= =?UTF-8?q?ain.c):=20changed=20main=20to=20execute=20commands?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.c b/src/main.c index 0ca7bce..f6d8677 100644 --- a/src/main.c +++ b/src/main.c @@ -6,7 +6,7 @@ /* By: mmoussou content))->redirection, av); cmd_list = get_cmd_list(piped, &env_l); - //exec_split_cmd(cmd_list, &env_l); + exec_split_cmd(cmd_list, &env_l); /*while (cmd_list) { cmd = cmd_list->content; cmd_list = cmd_list->next; }*/ - print_cmd(cmd_list->content); - //free(test); - //ft_lstclear(&piped, free_token); - //ft_free("a", &lll); + //print_cmd(cmd_list->content); + free(test); + ft_lstclear(&piped, free_token); + ft_free("a", &lll); } ft_free("a", &lll); return (0);