From f7af740cf2bccde2e6edbac31a0182fafe05d25e Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Tue, 3 Mar 2026 00:17:36 -0600 Subject: pipes --- src/main.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index 2b8505b..aaaea13 100644 --- a/src/main.h +++ b/src/main.h @@ -10,14 +10,16 @@ typedef enum{ Stdout=0, Redirect=1, Pipe=2, - If=3, - Continue=4 + Continue=3, + If=4, } cmd_t; -typedef struct{ +typedef struct CMD{ char *cmd; cmd_t type; - char *Stdout; + int stdInFd; + struct CMD *next; + int status; } CMD; #endif -- cgit v1.3