Modified the way the CreateProcess flag works