26 lines
1.0 KiB
C
26 lines
1.0 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* 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);
|
|
}
|