Table of Contents

TTMSMCPClientTransportSTDIO.IsRunning Method

Reports whether the child process is still alive.

API unit family: TMS.MCP.Client.Transport.STDIO Declaring type: TTMSMCPClientTransportSTDIO

Syntax

function IsRunning: Boolean; override;

Remarks

The state is read from the process itself, so a server that exits on its own makes this turn False without Stop being called. On a platform that cannot launch a child process the result is always False.

Returns

True while the launched process is running, otherwise False.