summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-01-26 21:33:11 -0500
committermidipix <writeonce@midipix.org>2018-01-26 21:33:11 -0500
commit29b2c1ac5e3c1b8ba1e54084a7e687abd5f8114d (patch)
treeeafdad8092797570a4ecccc5a0d7df28a9c89582 /src
parentc8a12604d8e4531ac8e2bf7759ea369d6ab54d69 (diff)
downloadntapi-29b2c1ac5e3c1b8ba1e54084a7e687abd5f8114d.tar.bz2
ntapi-29b2c1ac5e3c1b8ba1e54084a7e687abd5f8114d.tar.xz
struct _nt_spawn_process_params: foreign process creation: support passing cwd.
Diffstat (limited to 'src')
-rw-r--r--src/process/ntapi_tt_spawn_foreign_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process/ntapi_tt_spawn_foreign_process.c b/src/process/ntapi_tt_spawn_foreign_process.c
index b5c4e38..716468c 100644
--- a/src/process/ntapi_tt_spawn_foreign_process.c
+++ b/src/process/ntapi_tt_spawn_foreign_process.c
@@ -341,7 +341,7 @@ int32_t __stdcall __ntapi_tt_spawn_foreign_process(nt_spawn_process_params * spa
finherit,
sparams->interopflags | fsuspended,
0,
- 0,
+ sparams->cwd,
sparams->startupinfo,
&processinfo)))
return __tt_spawn_return(