mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
debug: show command about to be executed in debug mode
This commit is contained in:
parent
204ed35ff4
commit
81febcfcdd
8 changed files with 65 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/03/27 16:21:56 by khais #+# #+# */
|
||||
/* Updated: 2025/04/07 17:56:56 by khais ### ########.fr */
|
||||
/* Updated: 2025/04/08 16:12:36 by khais ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -25,6 +25,7 @@
|
|||
#include "../../postprocess/expansion/expand_vars.h"
|
||||
#include "../../postprocess/fieldsplit/fieldsplit.h"
|
||||
#include "../../postprocess/expansion/expand_wildcard.h"
|
||||
#include "simple_cmd_execute_debug.h"
|
||||
|
||||
static void command_not_found(t_simple_cmd *cmd)
|
||||
{
|
||||
|
|
@ -91,6 +92,7 @@ void simple_cmd_execute(t_simple_cmd *cmd, t_minishell *app)
|
|||
return ;
|
||||
if (post_process_command(cmd, app) == NULL)
|
||||
return ;
|
||||
simple_cmd_execute_debug(cmd, app);
|
||||
if (handle_redirections(cmd, app) == NULL)
|
||||
return ;
|
||||
if (execute_builtin(cmd, app) != BUILTIN_INVALID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue