Skip to content

Conversation

@ibetitsmike
Copy link
Contributor

On Windows, when spawning bash processes (via Git Bash or WSL), the
default behavior creates visible console windows that steal focus.

Add windowsHide: true to all spawn() calls that run background bash
or ssh processes. This prevents the console windows from appearing.

The terminal service spawn calls intentionally remain visible since
they're meant to open user-facing terminal windows.

Fixed locations:

  • LocalBaseRuntime.ts: exec() and runInitHook()
  • bashExecutionService.ts: executeStreaming()
  • SSHRuntime.ts: exec(), execSSHCommand(), and bundle creation

Generated with mux

On Windows, when spawning bash processes (via Git Bash or WSL), the
default behavior creates visible console windows that steal focus.

Add windowsHide: true to all spawn() calls that run background bash
or ssh processes. This prevents the console windows from appearing.

The terminal service spawn calls intentionally remain visible since
they're meant to open user-facing terminal windows.

Fixed locations:
- LocalBaseRuntime.ts: exec() and runInitHook()
- bashExecutionService.ts: executeStreaming()
- SSHRuntime.ts: exec(), execSSHCommand(), and bundle creation

_Generated with mux_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant