mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-05-11 06:58:47 +02:00
「🏗️」 wip(exec/exec_cmd): fixing redirections with builtins
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/04/29 13:20:22 by mmoussou #+# #+# */
|
||||
/* Updated: 2024/07/09 14:40:00 by mmoussou ### ########.fr */
|
||||
/* Updated: 2024/07/18 14:23:00 by mmoussou ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -104,7 +104,7 @@ t_env *ft_envnew(char *name, char *content);
|
||||
unsigned int ft_envsize(t_env *lst);
|
||||
|
||||
/**
|
||||
* @brief DEBUG FUNC : print the actual state of the env struct
|
||||
* @brief print the actual state of the env struct
|
||||
*
|
||||
* @param env the env struct that will be printed
|
||||
*
|
||||
|
@ -6,7 +6,7 @@
|
||||
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/04/29 13:20:22 by mmoussou #+# #+# */
|
||||
/* Updated: 2024/07/15 21:04:19 by mmoussou ### ########.fr */
|
||||
/* Updated: 2024/07/18 14:25:25 by mmoussou ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -28,6 +28,8 @@ typedef struct s_exec
|
||||
|
||||
int format_quotes(t_list *list_cmd);
|
||||
|
||||
int exec_single_cmd_execution(t_cmd *cmd, char **env,
|
||||
t_env *env_t, t_exec exec);
|
||||
char *get_path(char *path, char *cmd);
|
||||
int exec_split_cmd(t_list *list_cmd, t_env *env);
|
||||
int switch_cmd_path(t_cmd *cmd, t_env *env);
|
||||
|
Reference in New Issue
Block a user