|
maxishell
Implementation of a shell for Linux-like systems
|
#include "builtins.h"#include "libft.h"#include <stdio.h>#include <sys/wait.h>#include "shell.h"#include "execute.h"#include "tokens.h"#include "pipe.h"#include "redirection.h"#include "exit_status.h"#include "signals.h"
Go to the source code of this file.
Functions | |
| int | execute_ast (t_ast *node, t_ms_data *data) |
| execute Abstract Syntax Tree | |
execute Abstract Syntax Tree
--
| node | Abstract Syntax Tree Node |
| data | minishell data struct |
Definition at line 38 of file execute.c.
References s_ms_data::args, s_ast::args, builtin_pipe(), execute(), EXIT_FAILURE, EXIT_SUCCESS, PHRASE, PIPE, REDIR_APPEND, REDIR_HEREDOC, REDIR_IN, REDIR_OUT, redirect_append(), redirect_here_doc(), redirect_in(), redirect_out(), and s_ast::type.
Referenced by execute_child(), execute_child(), process_command(), redirect_append(), redirect_in(), and redirect_out().

