added function to transform env entry into list element

This commit is contained in:
Tanguy MAZE
2019-01-08 18:34:22 +01:00
parent 1edfe5167f
commit 2793aed4e5
4 changed files with 44 additions and 7 deletions

View File

@@ -6,13 +6,13 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/11/27 15:32:29 by tmaze #+# #+# */
/* Updated: 2018/11/28 16:42:22 by tmaze ### ########.fr */
/* Updated: 2019/01/07 18:57:22 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
#define S_BIN 1
#define S_BIN 2
int exec_cmd(char **argv, char **env)
{