chepa, des trucs, regarde le commit si tu veut savoir

This commit is contained in:
2024-04-02 16:15:49 +02:00
parent 0ebdfd7d34
commit b4c9665dd3
8 changed files with 77 additions and 31 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/28 13:50:14 by tomoron #+# #+# */
/* Updated: 2024/04/02 13:51:42 by tomoron ### ########.fr */
/* Updated: 2024/04/02 15:03:01 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -48,10 +48,10 @@ void exec_command_bonus(t_msh *msh, char *cmd_str)
if (cmds->cmd_type == CMD)
{
msh->cmds = parse_command(cmds->value, msh->env);
get_redirections(msh, cmds);
// get_redirections(msh, cmds);
print_parsed_cmd(cmds);
print_parsed_token(msh->cmds);
exec_commands(msh);
// exec_commands(msh);
}
cmds = cmds->next;
}