ProgramRunning()

Syntax

Result = ProgramRunning(Program)
Description
Tests if the specified program is still running.

Parameters

Program The program to use. It must have been started before with RunProgram().

Return value

Nonzero as long as the program has not yet ended, zero otherwise. If the program has been run with #PB_Program_Read flag, it will return nonzero as long there is something to read, even if the program is already ended.

See Also

RunProgram()

Supported OS

All

<- ProgramParameter() - Process Index - ReadProgramData() ->