Skip to content

WSL + Windows 跨系统 spawn 失败 #6

Description

@yjc6456

Title: [Bug] Bridge cannot spawn agent CLI on WSL when agent binary is Windows executable

Environment:

  • Bridge runs in WSL2 (Ubuntu)
  • OpenClaw CLI installed on Windows (npm, C:\Users\xxx\AppData\Roaming\npm\openclaw.cmd)
  • Bridge config: command: openclaw

Expected: Bridge spawns OpenClaw ACP agent successfully
Actual: spawn fails silently, alive=0, no error in bridge log

Root cause: asyncio.create_subprocess_exec cannot execute Windows .cmd from WSL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions