execution fix
This commit is contained in:
parent
413d75b94c
commit
b98717ae1a
@ -86,7 +86,6 @@ static int ft_excutor(t_cmd *cmd, t_list **env)
|
||||
tab = env_to_strs(env);
|
||||
if (tab == NULL)
|
||||
return (1);
|
||||
tab = NULL;
|
||||
dup2(cmd->fd_out, 1);
|
||||
dup2(cmd->fd_in, 0);
|
||||
execve(cmd->executable, cmd->args, tab);
|
||||
|
Loading…
Reference in New Issue
Block a user