diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2026-03-03 22:47:47 -0600 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2026-03-03 22:47:47 -0600 |
| commit | 36e4d7353a59ce5ab5f981d69cb2fcc5676a101a (patch) | |
| tree | 714a5f4a2a5ca076b26b6e3c54ddf0fba61cd7bc /src/main.h | |
| parent | f7af740cf2bccde2e6edbac31a0182fafe05d25e (diff) | |
Redirect and Append
Diffstat (limited to 'src/main.h')
| -rw-r--r-- | src/main.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -9,15 +9,17 @@ typedef struct{ typedef enum{ Stdout=0, Redirect=1, - Pipe=2, - Continue=3, - If=4, + Append=2, + Pipe=3, + Continue=4, + If=5, } cmd_t; typedef struct CMD{ char *cmd; cmd_t type; int stdInFd; + char *out_dir; struct CMD *next; int status; } CMD; |
