diff options
| author | Dominik Kaiser | 2024-10-21 15:08:10 +0200 |
|---|---|---|
| committer | Dominik Kaiser | 2024-10-21 15:08:10 +0200 |
| commit | b23715a8077cff0241b721889f17b3c3665d38f1 (patch) | |
| tree | 485ce333a1425b99a95f343996e6cd4fb58abdab /include/minishell.h | |
| parent | 32e454ed265fc66dc45e43a3c68fbbe416fc16f9 (diff) | |
| download | minishell-b23715a8077cff0241b721889f17b3c3665d38f1.tar.gz minishell-b23715a8077cff0241b721889f17b3c3665d38f1.zip | |
Add basic command execution
Diffstat (limited to 'include/minishell.h')
| -rw-r--r-- | include/minishell.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/minishell.h b/include/minishell.h index c84fda3..6282ea6 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -6,7 +6,7 @@ /* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/22 17:14:49 by dkaiser #+# #+# */ -/* Updated: 2024/10/17 17:09:25 by dkaiser ### ########.fr */ +/* Updated: 2024/10/21 15:00:05 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ @@ -39,4 +39,5 @@ void print_ast(t_node *ast); int eval(t_node *node, t_env *env); char *get_cmd_path(char *cmd, t_env *env); +int execute_cmd(t_cmd *cmd, t_env *env); #endif |
