Compare commits
4 Commits
4f66624667
...
b98717ae1a
Author | SHA1 | Date | |
---|---|---|---|
|
b98717ae1a | ||
|
413d75b94c | ||
|
f31d805d83 | ||
|
28fedfdd75 |
@ -86,7 +86,6 @@ static int ft_excutor(t_cmd *cmd, t_list **env)
|
|||||||
tab = env_to_strs(env);
|
tab = env_to_strs(env);
|
||||||
if (tab == NULL)
|
if (tab == NULL)
|
||||||
return (1);
|
return (1);
|
||||||
tab = NULL;
|
|
||||||
dup2(cmd->fd_out, 1);
|
dup2(cmd->fd_out, 1);
|
||||||
dup2(cmd->fd_in, 0);
|
dup2(cmd->fd_in, 0);
|
||||||
execve(cmd->executable, cmd->args, tab);
|
execve(cmd->executable, cmd->args, tab);
|
||||||
|
@ -40,6 +40,7 @@ char *ft_get_file_path(const char *infile);
|
|||||||
int ft_infile(char *line);
|
int ft_infile(char *line);
|
||||||
int ft_outfile(char *line);
|
int ft_outfile(char *line);
|
||||||
int ft_heredoc(char *stop);
|
int ft_heredoc(char *stop);
|
||||||
|
int *ft_get_heredoc();
|
||||||
size_t ft_seglen_quoted(const char *str, char c);
|
size_t ft_seglen_quoted(const char *str, char c);
|
||||||
int ft_cmds_executor(t_data *data, t_list **cmds);
|
int ft_cmds_executor(t_data *data, t_list **cmds);
|
||||||
char **ft_split_quoted(const char *s, char c);
|
char **ft_split_quoted(const char *s, char c);
|
||||||
|
Loading…
Reference in New Issue
Block a user