🔨」 fix(exec): fds for non-forked cmds

This commit is contained in:
y-syo
2024-07-18 14:43:30 +02:00
parent 705a49b6db
commit 6ac6f778e3
6 changed files with 26 additions and 25 deletions

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/29 13:20:22 by mmoussou #+# #+# */
/* Updated: 2024/07/18 14:25:25 by mmoussou ### ########.fr */
/* Updated: 2024/07/18 14:34:25 by mmoussou ### ########.fr */
/* */
/* ************************************************************************** */
@ -41,7 +41,7 @@ void __close(void *content);
int check_file(char *cmd, char *input);
void free_exec(t_env *env, char **env_array);
void exec_cmd(char *cmd, char **argv, char **env, t_env *env_t);
void exec_cmd(t_cmd *cmd, char **env, t_env *env_t);
void __fork_single_cmd(t_cmd *cmd, char **env, t_env *env_t, t_exec exec);
/**