Open pharbst opened 1 year ago
the executer will get the pipex struct as linked list with a cmd, cmd arguments and somehow some redirections which is not clear how the redirection struct will look like
the input redirection is saved in the pipex node itself the output redirections are saved in a separate linked list for details look in the minishell_structs.h the **args index 0 holds the cmd itself but heredoc is still not implemented and i dont know exactly how to do it in a smart way
since the struct provided from input handling isn't clear yet this should be split into execution and redirection separately