Merge branch 'test_execve' into quinten

This commit is contained in:
Quinten Mennen 2025-02-11 14:04:22 +01:00
commit 97b6321983

View File

@ -103,7 +103,7 @@ void simple_builtins(t_minishell *minishell)
else else
{ {
printf("found excutable: %s\n", path); printf("found excutable: %s\n", path);
free(path); fork_execve(minishell, path, ft_split(((t_token *)minishell->tokens->content)->value, ' '));
} }
} }