shell32/tests: Fix a ShellExecute() race condition.
commitf4130de33e90321cd07893295e41ef757cb9974d
authorFrancois Gouget <fgouget@free.fr>
Mon, 8 Feb 2016 04:24:45 +0000 (8 05:24 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 8 Feb 2016 11:03:33 +0000 (8 20:03 +0900)
treec7bd6d2b6a8304ddcdf8ca6a4ceab3efb9796f8a
parentcc240bdb143672da29adc0d86f0e3097a64324d9
shell32/tests: Fix a ShellExecute() race condition.

On Windows XP SP1 a ShellExecute() call that is supposed to fail
succeeds instead. This means the child process is started but
ShellExecute() returns without waiting for it, resulting in a race
condition on the child's results file. So use our shell_execute_ex()
wrapper instead as it always waits for the child process.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/shell32/tests/shlexec.c