diff options
| author | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2025-11-01 13:35:36 -0400 |
|---|---|---|
| committer | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2025-11-01 13:35:36 -0400 |
| commit | 406889ed5c780f0e28703b143c72bbf035280b25 (patch) | |
| tree | 9158054087bda207eed65e13e3e706ceb8467388 /src/hush.c | |
| parent | 1c2f33050478e5c859fa7be390681b39ee7311b2 (diff) | |
| download | hush-406889ed5c780f0e28703b143c72bbf035280b25.tar.gz | |
Got pipelining fully working
Diffstat (limited to 'src/hush.c')
| -rw-r--r-- | src/hush.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -87,7 +87,7 @@ int main(int argc, char **argv) { } } - print_commands(stdout, cmds); + // print_commands(stdout, cmds); for (command *cmd = cmds; cmd; cmd = cmd->next) { if (cmd->pid > 0) { @@ -97,12 +97,13 @@ int main(int argc, char **argv) { } } - free_tokens: - destroy_tokens(parsed_cmd); free_commands: destroy_commands(cmds); + free_tokens: + destroy_tokens(parsed_cmd); + draw_prompt: fprintf(stdout, "$ "); } |