This commit is contained in:
mdev9
2024-04-26 10:54:32 +02:00
parent 40a5533c5f
commit c3a0786da1
10 changed files with 52 additions and 42 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/05 18:17:25 by marde-vr #+# #+# */
/* Updated: 2024/04/25 13:26:52 by tomoron ### ########.fr */
/* Updated: 2024/04/26 10:49:45 by marde-vr ### ########.fr */
/* */
/* ************************************************************************** */
@ -73,7 +73,6 @@ void execute_command(t_msh *msh, char **cmd_args)
env = env_to_char_tab(msh->env);
if (env)
{
//set_echoctl(msh->echoctl);
if (execve(msh->tokens->value, cmd_args, env))
perror("execve");
}