Fixed start_process on windows to use correct interpreter

This commit is contained in:
Sergey Lyubka 2014-01-12 07:20:53 +00:00
parent 74511b42f5
commit f74a1e1dc2

View File

@ -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));