https://bugs.winehq.org/show_bug.cgi?id=39644
--- Comment #5 from François Gouget fgouget@codeweavers.com --- Rather than explicitly going through the child process tree and killing each process, it may be simpler and more thorough to put child processes in a job and use TerminateJobObject(). But maybe this would interfere with the tests...
The next step is to check whether this recursive killing makes any difference wrt. UAC prompts. But Even if it does not, it may make sense to do it anyway, even in non-timeout cases, just to make sure a test does not leave processes behind that could interfere with the tests that follow.