BUG: Process startup-info struct dwFlags were being set incorrectly due to a change in statement order.