https://bugs.winehq.org/show_bug.cgi?id=49748
--- Comment #5 from qsniyg qsniyg@mail.com --- (In reply to Fabian Maurer from comment #4)
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.
I'll have to test it more, but my reasoning behind this change is that it has already called SetCurrentDirectory to that directory, so passing the directory doesn't appear to be useful.