Paul Vriens paul.vriens.wine@gmail.com writes:
The winetest gui shows that the working directory is (in this case) c:\temp\wct12. This value is however not passed to the tests when CreateProcess is run:
main.c:
291 if (!CreateProcessA (NULL, cmd, NULL, NULL, TRUE, 0, 292 NULL, NULL, &si, &pi)) {
,--------------------------^ MSDN: If this parameter is NULL, the new process will have the same current drive and directory as the calling process.
The CreateProcess documentation is rather convoluted, though. The first NULL also seems risky on first read.