aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'posix/spawn_int.h')
-rw-r--r--posix/spawn_int.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/posix/spawn_int.h b/posix/spawn_int.h
index 171f67c649..9db35553c2 100644
--- a/posix/spawn_int.h
+++ b/posix/spawn_int.h
@@ -29,7 +29,8 @@ struct __spawn_action
{
spawn_do_close,
spawn_do_dup2,
- spawn_do_open
+ spawn_do_open,
+ spawn_do_chdir,
} tag;
union
@@ -50,6 +51,10 @@ struct __spawn_action
int oflag;
mode_t mode;
} open_action;
+ struct
+ {
+ char *path;
+ } chdir_action;
} action;
};