This commit is contained in:
2024-02-16 21:24:24 +01:00
parent 8d77586948
commit ab5912fe51
5 changed files with 17 additions and 19 deletions

4
main.c
View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/02 21:59:20 by tomoron #+# #+# */
/* Updated: 2024/02/15 14:13:57 by tomoron ### ########.fr */
/* Updated: 2024/02/16 16:37:13 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -81,7 +81,7 @@ int main(int argc, char **argv, char **envp)
add_history(command);
parsed_cmd = parse_command(command, env);
free(command);
print_parsed_cmd(parsed_cmd);//debug
//print_parsed_cmd(parsed_cmd);//debug
exec_command(parsed_cmd, env);
free_cmd(parsed_cmd);
}