Skip to content

system.run hangs indefinitely for CLI tools that connect to a running process via local IPC (regression after v0.4.3) #28

Closed

Description

@milosm

First of all, thank you for building and maintaining this Hub. It's a fantastic companion app and really adds a lot to the OpenClaw experience on Windows.

After upgrading from v0.4.3 to v0.4.5, system.run commands that invoke Obsidian.com (the Obsidian native CLI) hang indefinitely instead of returning output. Reverting to v0.4.3 restores the expected behavior (~400ms response time).

Steps to reproduce:

  1. Have Obsidian running with a vault open
  2. Send a system.run invocation: { "command": "Obsidian.com version", "shell": "cmd", "timeout": 10000 }
  3. Command never returns, and gateway times out after 30s

Expected: 1.12.4 (installer 1.11.7) returned in ~400ms (works correctly in v0.4.3)

Actual: Command hangs until gateway timeout

Additional findings:
• where.exe Obsidian.com returns instantly (198ms) - the executable is found in PATH
• Running Obsidian.com version in an interactive PowerShell session on the same machine works fine
• Both shell: cmd and shell: powershell hang the same way
• The Hub correctly runs all commands via powershell.exe -NoProfile -NonInteractive - something about the subprocess execution context appears to have changed between v0.4.3 and v0.4.5

Note for reproduction without Obsidian: The issue likely affects any CLI that communicates with a running process via local IPC (named pipe or localhost socket), and not just Obsidian. docker version (with Docker Desktop running) follows the same pattern and may be easier to reproduce.

Environment:
• Windows 11 Pro, interactive desktop session
• Hub: upgraded from v0.4.3 → v0.4.5 (regression), working on v0.4.3
• Obsidian v1.12.4

Activity

  1. milosm commented on Feb 24, 2026

    @milosm
    Author

    Note from diff analysis (v0.4.3 → v0.4.5):
    The diff between the two versions was reviewed. There are zero changes to system.run, process spawning, SystemCapability.cs, or any related execution logic.

    All changes between the two versions are:

    • URL credential handling,
    • WebSocket Basic Auth support,
    • logging sanitization,
    • version bumps, and
    • new unit tests.

    This suggests the regression may not be in the hub's own code, which is puzzling, and I'm flagging it here in case it helps narrow things down.

  2. shanselman commented on Feb 26, 2026

    @shanselman
    Collaborator

    Has Obsidian changed?

  3. milosm commented on Feb 27, 2026

    @milosm
    Author

    No, not at the time when i went from v0.4.3 to v0.4.5

    I saw the PR

    Thanks!

  4. added
    bug
    on Mar 17, 2026
  5. locked as resolved and limited conversation to collaborators on May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions