[BUG] Windows bug in Claude Code's remote-control subprocess spawning

Resolved 💬 3 comments Opened Mar 3, 2026 by abbesmoez22 Closed Mar 7, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

claude remote-control fails immediately on Windows with node.exe: bad option: --sdk-url. The --sdk-url internal flag is being passed as a Node.js argument instead of an application argument when spawning the subprocess

What Should Happen?

should spin up QR code for me to scan

Error Messages/Logs

Steps to Reproduce

  1. Open PowerShell (or Git Bash / MINGW64) on Windows
  2. Run: claude --dangerously-skip-permissions remote-control
  3. Session fails instantly

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.63

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗