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);