Table of Contents

TTMSMCPClientTransportSTDIO.Start Method

Launches the configured server process and begins reading its output.

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

Syntax

procedure Start; override;

Remarks

Does nothing when Command is empty. The process is started with its window hidden and with both of its output streams redirected into a single pipe the transport reads on a background worker. On platforms that run the command through a command interpreter the arguments are appended to the command line separated by spaces and are not quoted, so an argument containing spaces has to carry its own quotes. The child is tied to the lifetime of the launching application where the platform allows it, so that it does not survive as an orphan when the application ends without stopping the transport.