cmd_execute: execute simple commands

This commit is contained in:
Khaïs COLIN 2025-04-04 19:35:17 +02:00
parent 7af032539a
commit f9f8a804a3
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo

View file

@ -6,14 +6,15 @@
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/04/04 19:26:37 by khais #+# #+# */
/* Updated: 2025/04/04 19:37:19 by khais ### ########.fr */
/* 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)
{
(void)cmd;
(void)app;
if (cmd->type == FT_SIMPLE)
simple_cmd_execute(cmd->value.simple, app);
}