pharbst / minishell

minishell project from school 42
0 stars 0 forks source link

Executer #1

Open pharbst opened 1 year ago

pharbst commented 1 year ago

since the struct provided from input handling isn't clear yet this should be split into execution and redirection separately

pharbst commented 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

pharbst commented 1 year ago

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