diff options
Diffstat (limited to 'exec.h')
| -rw-r--r-- | exec.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -5,6 +5,23 @@ typedef struct { + int old_fd; + int new_fd; +} FdRedirect; + +DECLARE_VEC(FdRedirect, FdRedirectVec) + +typedef struct { + char** args; + FdRedirectVec redirs; + int stdin_fd; + int stdout_fd; + IntVec child_close_fds; + IntVec parent_close_fds; +} ExecutableCommand; + + +typedef struct { KeyValMap aliases; KeyValMap shell_vars; } ShellState; |
