winetest: Capture the Win32 stderr into the log file too.

This commit is contained in:
Alexandre Julliard 2008-11-19 12:19:22 +01:00
parent 5dfcadd7a3
commit db8783e724
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ run_ex (char *cmd, HANDLE out_file, const char *tempdir, DWORD ms)
si.dwFlags = STARTF_USESTDHANDLES;
si.hStdInput = GetStdHandle( STD_INPUT_HANDLE );
si.hStdOutput = out_file ? out_file : GetStdHandle( STD_OUTPUT_HANDLE );
si.hStdError = GetStdHandle( STD_ERROR_HANDLE );
si.hStdError = out_file ? out_file : GetStdHandle( STD_ERROR_HANDLE );
if (!CreateProcessA (NULL, cmd, NULL, NULL, TRUE, CREATE_DEFAULT_ERROR_MODE,
NULL, tempdir, &si, &pi)) {