Compare commits

..

No commits in common. "b98717ae1ac493c3335c684f4d8a57d4ce48c7a0" and "4f6662466736642f79307d920b9449da0bf5fbf0" have entirely different histories.

3 changed files with 1 additions and 1 deletions

View File

@ -86,6 +86,7 @@ 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);

BIN
minishell

Binary file not shown.

View File

@ -40,7 +40,6 @@ char *ft_get_file_path(const char *infile);
int ft_infile(char *line);
int ft_outfile(char *line);
int ft_heredoc(char *stop);
int *ft_get_heredoc();
size_t ft_seglen_quoted(const char *str, char c);
int ft_cmds_executor(t_data *data, t_list **cmds);
char **ft_split_quoted(const char *s, char c);