diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2026-03-03 00:17:36 -0600 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2026-03-03 00:17:36 -0600 |
| commit | f7af740cf2bccde2e6edbac31a0182fafe05d25e (patch) | |
| tree | e110bdaee77f97d6dd4931e8daa28b77e19e1f63 /src/main.h | |
| parent | 1b8967ea87c63342f03c340d44a084ea7f62cae9 (diff) | |
pipes
Diffstat (limited to 'src/main.h')
| -rw-r--r-- | src/main.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 |
