diff options
| author | 2024-09-23 09:51:17 -0400 | |
|---|---|---|
| committer | 2024-09-23 09:51:17 -0400 | |
| commit | b578aef7bf03fad539969aa671829e1a8643248b (patch) | |
| tree | 0d1ac4d5d39de29c1cf7d4d682c09c50446b9821 /src/lush.h | |
| parent | Update README.md (diff) | |
| parent | implemented piping into new chaining method (diff) | |
Merge pull request #2 from BanceDev/chaining-operators
Chaining operators
Diffstat (limited to 'src/lush.h')
| -rw-r--r-- | src/lush.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -35,11 +35,12 @@ int lush_num_builtins(); int lush_run(lua_State *L, char ***commands, int num_commands); char *lush_read_line(); -char **lush_split_pipes(char *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(lua_State *L, char ***commands, int num_commands); void lush_format_prompt(const char *prompt_format); |
