/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* exec_pipe.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/11/27 21:13:23 by jhalford #+# #+# */ /* Updated: 2017/03/03 16:27:48 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ #include "minishell.h" int exec_pipe(t_btree **ast) { t_exec *exec; exec = &data_singleton()->exec; push(&exec->op_stack, TK_PIPE); ft_exec(&(*ast)->left); ft_exec(&(*ast)->right); /* btree_delone(ast, &ast_free); */ return (0); }