feature: added execution of commands from path

This commit is contained in:
Tanguy MAZE
2019-09-27 17:00:03 +02:00
parent aa8e971688
commit 58459bc0c1
5 changed files with 209 additions and 13 deletions

View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/11/18 13:12:34 by tmaze #+# #+# */
/* Updated: 2019/09/26 16:53:31 by tmaze ### ########.fr */
/* Updated: 2019/09/27 16:09:09 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -42,5 +42,9 @@ void lstdelelem(t_env **elem);
void lstdel(t_env **env);
t_env *lstnew(char *env);
t_env *lstaddend(t_env **alst, t_env *new);
t_env *lstgetelem(char *key, t_env *env);
char **lsttotab(t_env *env);
int exec_cmd(char **argv, t_env **env);
#endif