openclaw - 💡(How to fix) Fix Bug: Windows heartbeat cmd window not hidden - 'findstr /I /C:"Running"' stays visible

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

The temporary restart script uses findstr /I /C:"Running" without start /min or output redirection, causing a persistent visible window.

RAW_BUFFERClick to expand / collapse

Bug Description

On Windows, the OpenClaw Gateway heartbeat mechanism spawns a visible cmd.exe window that runs findstr /I /C:"Running" to check scheduled task status. The window stays open with a black screen and the command visible in the title bar.

Reproduction

  1. Run OpenClaw Gateway on Windows
  2. Wait for the heartbeat mechanism to trigger
  3. A black cmd window appears with title findstr /I /C:"Running"

Evidence

  • Process chain: node.exe (Gateway, PID 2876) -> cmd.exe (PID 3616) -> findstr.exe (PID 7464)
  • Script: openclaw-schtasks-restart-*.cmd (in AppData\Local\Temp\openclaw\)
  • Screenshot: Attached

Expected Behavior

The heartbeat check should run silently (no visible window).

OpenClaw Version

  • Version: 2026.5.18 (50a2481)
  • Platform: Windows 11
  • Shell: PowerShell

Root Cause Analysis

The temporary restart script uses findstr /I /C:"Running" without start /min or output redirection, causing a persistent visible window.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Bug: Windows heartbeat cmd window not hidden - 'findstr /I /C:"Running"' stays visible