Dsite42/minishell

cat <input.txt is not working anymore

Closed this issue · 2 comments

cat

if (execve((const char *) path_cmd,
piping_data->cmd->argv, envp) == -1)

reason is because envp seems not to be NULL terminated (if I exchange envp with NULL everything is working)
@jnspr please adapt iter_export_vars() in env.c

jnspr commented

Fixed in b60a631