diff --git a/nt/runemacs.c b/nt/runemacs.c index dc8d1bfe710..c1b28951748 100644 --- a/nt/runemacs.c +++ b/nt/runemacs.c @@ -126,7 +126,7 @@ WinMain (HINSTANCE hSelf, HINSTANCE hPrev, LPSTR cmdline, int nShow) sec_attrs.bInheritHandle = FALSE; if (CreateProcess (NULL, new_cmdline, &sec_attrs, NULL, TRUE, priority_class, - NULL, NULL, &start, &child)) + GetEnvironmentStrings (), NULL, &start, &child)) { if (wait_for_child) {