From f74a1e1dc27d9e99321790322214349684a5c500 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Sun, 12 Jan 2014 07:20:53 +0000 Subject: [PATCH] Fixed start_process on windows to use correct interpreter --- mongoose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongoose.c b/mongoose.c index 57a3ebd1..becc2a14 100644 --- a/mongoose.c +++ b/mongoose.c @@ -893,7 +893,7 @@ static pid_t start_process(char *interp, const char *cmd, const char *env, if (interp != NULL) { abs_path(interp, buf4, ARRAY_SIZE(buf4)); - interp = buf; + interp = buf4; } abs_path(dir, buf5, ARRAY_SIZE(buf5)); to_wchar(dir, full_dir, ARRAY_SIZE(full_dir));