Commit f74a1e1d authored by Sergey Lyubka's avatar Sergey Lyubka

Fixed start_process on windows to use correct interpreter

parent 74511b42
...@@ -893,7 +893,7 @@ static pid_t start_process(char *interp, const char *cmd, const char *env, ...@@ -893,7 +893,7 @@ static pid_t start_process(char *interp, const char *cmd, const char *env,
if (interp != NULL) { if (interp != NULL) {
abs_path(interp, buf4, ARRAY_SIZE(buf4)); abs_path(interp, buf4, ARRAY_SIZE(buf4));
interp = buf; interp = buf4;
} }
abs_path(dir, buf5, ARRAY_SIZE(buf5)); abs_path(dir, buf5, ARRAY_SIZE(buf5));
to_wchar(dir, full_dir, ARRAY_SIZE(full_dir)); to_wchar(dir, full_dir, ARRAY_SIZE(full_dir));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment