Skip to content

Reverted Windows compatibility changes from PR #31 - WSL recommended instead #34

@rinadelph

Description

@rinadelph

Issue Summary

PR #31 was merged but then reverted due to potential compatibility issues with tmux environments and Linux systems.

Changes That Were Reverted

The following changes were reverted from agent_mcp/dashboard/scripts/start-dev.js:

- env: process.env,
- shell: true

Why This Was Reverted

  1. tmux Compatibility: The shell: true option can interfere with tmux session management and signal handling
  2. Environment Variable Issues: env: process.env may pass tmux-specific variables that could cause unexpected behavior
  3. Maintenance Burden: Adding Windows-specific workarounds creates complexity for a Linux-focused project

Recommended Solution for Windows Users

Use WSL (Windows Subsystem for Linux) instead of native Windows:

  1. Install WSL2: wsl --install
  2. Install Ubuntu or preferred Linux distribution
  3. Run Agent-MCP within the WSL environment
  4. This provides full Linux compatibility without platform-specific hacks

Benefits of WSL Approach

  • ✅ Full compatibility with tmux
  • ✅ Native Linux environment behavior
  • ✅ No platform-specific code maintenance
  • ✅ Better development experience
  • ✅ Consistent behavior across environments

WSL is the industry standard for Windows development with Linux-based tools and provides a much better experience than trying to patch individual compatibility issues.

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