mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
20 lines
1.1 KiB
C
20 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* cmd_execute.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/04/04 19:26:37 by khais #+# #+# */
|
|
/* Updated: 2025/04/04 19:38:37 by khais ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "cmd_execute.h"
|
|
#include "../simple_cmd/simple_cmd_execute.h"
|
|
|
|
void cmd_execute(t_cmd *cmd, t_minishell *app)
|
|
{
|
|
if (cmd->type == FT_SIMPLE)
|
|
simple_cmd_execute(cmd->value.simple, app);
|
|
}
|