From 0f65225da87dfad10686415e42938455b5c4e904 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 12 Oct 2014 11:42:19 -0700 Subject: [PATCH] wrapper (Win): fix possible bug in prioritizing child process --- samples/wrapper/wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/wrapper/wrapper.cpp b/samples/wrapper/wrapper.cpp index 0be69bfc95..4ed8c71f1f 100644 --- a/samples/wrapper/wrapper.cpp +++ b/samples/wrapper/wrapper.cpp @@ -697,7 +697,7 @@ int TASK::run(int argct, char** argvt) { NULL, NULL, TRUE, // bInheritHandles - CREATE_NO_WINDOW|no_priority_change?0:IDLE_PRIORITY_CLASS, + CREATE_NO_WINDOW|(no_priority_change?0:IDLE_PRIORITY_CLASS), (LPVOID) env_vars, exec_dir.empty()?NULL:exec_dir.c_str(), &startup_info,