From 29b2c1ac5e3c1b8ba1e54084a7e687abd5f8114d Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 26 Jan 2018 21:33:11 -0500 Subject: struct _nt_spawn_process_params: foreign process creation: support passing cwd. --- src/process/ntapi_tt_spawn_foreign_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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( -- cgit v1.2.3