aboutsummaryrefslogtreecommitdiffstats
path: root/include/command.h
diff options
context:
space:
mode:
authorDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2025-11-01 13:35:36 -0400
committerDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2025-11-01 13:35:36 -0400
commit406889ed5c780f0e28703b143c72bbf035280b25 (patch)
tree9158054087bda207eed65e13e3e706ceb8467388 /include/command.h
parent1c2f33050478e5c859fa7be390681b39ee7311b2 (diff)
downloadhush-406889ed5c780f0e28703b143c72bbf035280b25.tar.gz
Got pipelining fully working
Diffstat (limited to 'include/command.h')
-rw-r--r--include/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/command.h b/include/command.h
index 3df724b..f44c103 100644
--- a/include/command.h
+++ b/include/command.h
@@ -15,10 +15,10 @@ typedef struct command {
char *infile;
char *outfile;
struct command *next;
+ struct command *prev;
pid_t pid;
int pipe[2];
- int *read_pipe;
char *args[MAX_ARGUMENT_CNT + 2];
} command;