From b7718ede99f3a4817fdea01d32b3bbb4a713eb8e Mon Sep 17 00:00:00 2001 From: BanceDev Date: Wed, 18 Sep 2024 12:17:27 -0400 Subject: added basic && chaining --- src/lush.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lush.h') diff --git a/src/lush.h b/src/lush.h index 6836be2..564dd4b 100644 --- a/src/lush.h +++ b/src/lush.h @@ -38,8 +38,9 @@ char *lush_read_line(); char **lush_split_commands(char *line); char ***lush_split_args(char **commands, int *status); -void lush_execute_command(char **args, int input_fd, int output_fd); +int lush_execute_command(char **args, int input_fd, int output_fd); int lush_execute_pipeline(char ***commands, int num_commands); +int lush_execute_chain(char ***commands, int num_commands); void lush_format_prompt(const char *prompt_format); -- cgit v1.2.3-59-g8ed1b