https://bugs.winehq.org/show_bug.cgi?id=49748
--- Comment #4 from Fabian Maurer dark.shadow4@web.de ---
Could you test the attached patch? It appears to fix problem #1 with the test case you attached.
I'm not sure if it's really ok if we don't pass lpDirectory to CreateProcessW.
If I run test.exe without dir/test.exe existing in the same directory, it will start itself endlessly under both wine and Windows 10.
Great... I can confirm, my Win7 VM behaves different from my Windows 10 VM.