broke outfile redirects

This commit is contained in:
mdev9
2024-03-05 08:34:00 +01:00
parent 071331644b
commit 51d631944b
2 changed files with 7 additions and 6 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/02 21:59:20 by tomoron #+# #+# */
/* Updated: 2024/03/04 13:39:15 by marde-vr ### ########.fr */
/* Updated: 2024/03/05 08:02:22 by marde-vr ### ########.fr */
/* */
/* ************************************************************************** */
@ -100,7 +100,7 @@ int main(int argc, char **argv, char **envp)
msh->cmds = parse_command(command, msh->env);
free(command);
msh->cmds = handle_alias(msh);
print_parsed_cmd(msh->cmds); // debug
//print_parsed_cmd(msh->cmds); // debug
exec_command(msh);
free_cmd(msh->cmds);
}