Skip to content

feature: Stdio Client Fails to Detect Immediate Server Process Termination #498

@yhuaminghui

Description

@yhuaminghui

Problem Statement

When using the stdio client, if the server process terminates immediately after startup (e.g., due to parameter validation errors), the client cannot promptly detect that the process has exited. However, the client is unable to access the server's stderr output for debugging. Currently, cmd.Wait() is only called in the Close method, lacking early detection of the server process status. At present, I can only set a timeout for Initialize, but this is not a proper solution. I hope this capability can be added as soon as possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions