StdioClientTransport.closeProcess

Shut the owned child down per the MCP stdio Shutdown sequence and return its exit status (a process killed by signal reports a negative status: -SIGTERM / -SIGKILL). Safe to call once.

class StdioClientTransport
package @safe
int
closeProcess
(
Duration termGrace
,
Duration killGrace
)