/* By: ljiriste <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/03 09:00:00 by ljiriste #+# #+# */
-/* Updated: 2024/08/31 11:58:46 by ljiriste ### ########.fr */
+/* Updated: 2024/09/05 09:41:13 by ljiriste ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
#include "libft.h"
#include <stdlib.h>
+#include <unistd.h>
void handle_input(char **input, t_execution_env *env)
{
ft_vec_free(&tokens, free_token);
ft_parse_tree_free(parse_tree);
if (res != 0)
- ft_printf("An error has occured.\n");
+ ft_dprintf(STDERR_FILENO, "An error has occured.\n");
return ;
}