diff options
| author | Bob Arnson <bob@firegiant.com> | 2023-04-03 22:16:27 -0400 |
|---|---|---|
| committer | Bob Arnson <github@bobs.org> | 2023-04-04 12:29:33 -0400 |
| commit | 238a1601a3cdf11cb9becaf8a53f281bdbbcbf09 (patch) | |
| tree | d00fa3a47c4d862e763240e2770df87974c25445 /src/libs | |
| parent | 9023fd4d6dd4339003defcfb12002432357193b9 (diff) | |
| download | wix-238a1601a3cdf11cb9becaf8a53f281bdbbcbf09.tar.gz wix-238a1601a3cdf11cb9becaf8a53f281bdbbcbf09.tar.bz2 wix-238a1601a3cdf11cb9becaf8a53f281bdbbcbf09.zip | |
Hide visible NetCoreCheck.exe window.
Fixes https://github.com/wixtoolset/issues/issues/7353.
Also adds unit test and removes dead code.
Diffstat (limited to 'src/libs')
| -rw-r--r-- | src/libs/dutil/WixToolset.DUtil/procutil.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/procutil.cpp b/src/libs/dutil/WixToolset.DUtil/procutil.cpp index f96a1999..aba3b495 100644 --- a/src/libs/dutil/WixToolset.DUtil/procutil.cpp +++ b/src/libs/dutil/WixToolset.DUtil/procutil.cpp | |||
| @@ -352,6 +352,7 @@ extern "C" HRESULT DAPI ProcExec( | |||
| 352 | ProcExitOnFailure(hr, "Failed to allocate full command-line."); | 352 | ProcExitOnFailure(hr, "Failed to allocate full command-line."); |
| 353 | 353 | ||
| 354 | si.cb = sizeof(si); | 354 | si.cb = sizeof(si); |
| 355 | si.dwFlags = STARTF_USESHOWWINDOW; | ||
| 355 | si.wShowWindow = static_cast<WORD>(nCmdShow); | 356 | si.wShowWindow = static_cast<WORD>(nCmdShow); |
| 356 | if (!::CreateProcessW(wzExecutablePath, sczFullCommandLine, NULL, NULL, FALSE, 0, 0, NULL, &si, &pi)) | 357 | if (!::CreateProcessW(wzExecutablePath, sczFullCommandLine, NULL, NULL, FALSE, 0, 0, NULL, &si, &pi)) |
| 357 | { | 358 | { |
