creation struc pipes

This commit is contained in:
hugogogo
2021-10-18 11:28:54 +02:00
parent 7b817bb369
commit 6e32b4ae47
2 changed files with 53 additions and 20 deletions

View File

@@ -22,7 +22,7 @@ void print_tab(char **array)
}
}
void execute_cmd(char *cmd, t_all *c)
void cmd_execution(char *cmd, t_all *c)
{
const char *filename;
char **argv;
@@ -49,5 +49,5 @@ void pipes_hugo(char *input, t_all *c)
//printf("%i\n", nbr_pipes);
//print_tab(split);
i = 0;
execute_cmd(split[i], c);
cmd_execution(split[i], c);
}