Skip to content

Commit 8355024

Browse files
committed
Fix non-displaying ozc messages in Windows
Fixes #214 : As flag HANDLE_FLAG_INHERIT is used in SetHandleInformation call, parameter bInheritHandles of CreateProcess must be set to true
1 parent d6c547b commit 8355024

File tree

1 file changed

+1
-1
lines changed
  • boosthost/emulator/windows

1 file changed

+1
-1
lines changed

boosthost/emulator/windows/ozc.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
6868
PROCESS_INFORMATION pinf;
6969
if (!CreateProcessA(const_cast<char*>(ozenginePath.c_str()),
7070
const_cast<char*>(cmdline.c_str()),
71-
nullptr, nullptr, false, 0,
71+
nullptr, nullptr, true, 0,
7272
nullptr, nullptr, &si, &pinf)) {
7373
std::cerr << "panic: cannot start ozengine" << std::endl;
7474
return 254;

0 commit comments

Comments
 (0)