🏗️」 wip(env): not tested, could not work

This commit is contained in:
y-syo
2024-06-09 16:03:09 +02:00
parent cf0a230f28
commit 815689e72f
2 changed files with 13 additions and 11 deletions

View File

@ -3,10 +3,10 @@
/* ::: :::::::: */
/* split_cmd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/04 15:00:32 by adjoly #+# #+# */
/* Updated: 2024/06/04 13:15:47 by adjoly ### ########.fr */
/* Updated: 2024/06/08 18:31:42 by mmoussou ### ########.fr */
/* */
/* ************************************************************************** */
@ -15,10 +15,8 @@
t_cmd *split_cmd(char *cmd_av, t_cmd *cmd)
{
char *tmp;
char **split;
tmp = cmd_av;
split = ft_split(cmd_av, ' ');
cmd->cmd = ft_strdup(*split);
cmd->argv = split;