Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: honor EOF as graceful exit #84

Merged
merged 1 commit into from
Jan 24, 2025
Merged

Conversation

maxandersen
Copy link
Member

this do graceful exit when EOF because when you quit Claude Desktop java processes keeps hanging around as no signal is otherwise sent.

Also stdio spec at https://spec.modelcontextprotocol.io/specification/2024-11-05/basic/transports/ states "Close stdin, terminate subprocess"

Thus I think this is actual a bug/missing feature.

@maxandersen maxandersen requested a review from a team as a code owner January 23, 2025 15:29
@mkouba
Copy link
Contributor

mkouba commented Jan 24, 2025

Also stdio spec at https://spec.modelcontextprotocol.io/specification/2024-11-05/basic/transports/ states "Close stdin, terminate subprocess"

Well, the spec shows in a diagram that it's the client that closes the stdin and terminates subprocesses but I agree that it's reasonable to exit the app when EOF is reached.

@mkouba mkouba merged commit a9cecf9 into quarkiverse:main Jan 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants