diff options
| author | Ákos Kőrösi <korakos99@gmail.com> | 2026-05-23 22:30:30 +0200 |
|---|---|---|
| committer | Ákos Kőrösi <korakos99@gmail.com> | 2026-05-23 22:30:30 +0200 |
| commit | 732910ad461ae94a876d9e661922717553181b07 (patch) | |
| tree | 8e3763b627cd7aaebaa4818c2fbe3d2e40754512 /src/syntax.h | |
| parent | 0a9d100af08a2068968264c11013c410330e6ef5 (diff) | |
refactor more for Channels
Diffstat (limited to 'src/syntax.h')
| -rw-r--r-- | src/syntax.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/syntax.h b/src/syntax.h index 07d5437..02e3145 100644 --- a/src/syntax.h +++ b/src/syntax.h @@ -201,10 +201,11 @@ typedef struct { static const Channel STDIN_CHA = {.fd = STDIN_FILENO, .parent_proc_closable = false, .child_proc_closable = false}; static const Channel STDOUT_CHA = {.fd = STDOUT_FILENO, .parent_proc_closable = false, .child_proc_closable = false}; +DECLARE_VEC(Channel, ChannelVec) + typedef struct { char** args; FdRedirectVec redirects; Channel read_cha, write_cha; - IntVec parent_open_fds; - IntVec child_open_fds; + ChannelVec other_open_channels; } ExecutableCommand; |
