mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-05-11 06:58:47 +02:00
「🔨」 fix(exec/check_file): check if path is a directory
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/13 14:03:47 by adjoly ### ########.fr */
|
||||
/* Updated: 2024/07/14 15:49:21 by mmoussou ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -36,6 +36,7 @@ char *get_cmd_local_path(char *cmd, t_env *env);
|
||||
void print_return_value(int return_code);
|
||||
void __wait(int i);
|
||||
void __close(void *content);
|
||||
int check_file(char *cmd, char *input);
|
||||
|
||||
/**
|
||||
* @brief spawn a heredoc
|
||||
|
Reference in New Issue
Block a user