This commit is contained in:
Loic Deridder
2025-01-27 15:46:18 +01:00
parent 775f25a837
commit 1efc094d19
7 changed files with 319 additions and 52 deletions

25
includes/exec.h Normal file
View File

@@ -0,0 +1,25 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* exec.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lderidde <lderidde@student.s19.be> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/27 11:21:23 by lderidde #+# #+# */
/* Updated: 2025/01/27 15:02:20 by lderidde ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef EXEC_H
#define EXEC_H
# include <stdio.h>
# include <sys/wait.h>
# include <sys/types.h>
# include <stdlib.h>
# include <unistd.h>
# include "ast.h"
int execute_command(t_ast_n *node);
#endif