Skip to content

Shell commands can hang on Windows after process exit #29822

@ahasasjeb

Description

@ahasasjeb

Description

On Windows, shell command execution can occasionally hang even after the command process has exited. When this happens, OpenCode keeps waiting and does not return the command result back to the model

Plugins

No response

OpenCode version

1.15.12

Steps to reproduce

Completely randomly, executing any command, whether simple or complex, may lead to the occurrence of this issue

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

Windows Terminal

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions