feature: switched env from ft_list to specific list
This commit is contained in:
25
srcs/ms_exec.c
Normal file
25
srcs/ms_exec.c
Normal file
@@ -0,0 +1,25 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ms_exec.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2019/09/26 16:25:00 by tmaze #+# #+# */
|
||||
/* Updated: 2019/09/26 16:43:05 by tmaze ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "minishell.h"
|
||||
|
||||
char *check_path(char *cmd, char *path)
|
||||
{
|
||||
char **splitpath;
|
||||
int i;
|
||||
|
||||
if ((splitpath = ft_strsplit(path, ':')) != NULL)
|
||||
{
|
||||
i = 0;
|
||||
}
|
||||
return (NULL);
|
||||
}
|
||||
Reference in New Issue
Block a user