Skip to main content

BKG Background Process Status

Numeric System Variable

Contents

Integer, process status code

Description

The BKG variable contains the following numeric status codes:

0

Current program is directly connected to a terminal user (background/ghost process), and on Windows, the initial window was not minimized or hidden.

1

Current program is not directly connected to a terminal user (background/ghost process), or on Windows, the initial window was minimized or hidden.

See Also

TCB( ) Return Task Information

Example

?bkg
0