Const
Readonly
ACTIVE: 2Readonly
BACKGROUND: 0A process is in the background and not visible to the user.
Readonly
FOREGROUND: 1A process is in the foreground, and it is visible to the user, but doesn't have focus (for example, covered by a dialog).
A process is in the foreground and user can interact with it.