mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
cmd_execute: execute simple commands
This commit is contained in:
parent
7af032539a
commit
f9f8a804a3
1 changed files with 4 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue