diff options
| author | 2024-09-18 12:17:27 -0400 | |
|---|---|---|
| committer | 2024-09-18 12:17:27 -0400 | |
| commit | b7718ede99f3a4817fdea01d32b3bbb4a713eb8e (patch) | |
| tree | ccc2e509cf073d3beb8057eb0f70d08ee28c2664 /src/lush.h | |
| parent | changed tokenizer to handle all the chaining operators (diff) | |
added basic && chaining
Diffstat (limited to '')
| -rw-r--r-- | src/lush.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |
