Skip to content

Conversation

@alex-feel
Copy link
Owner

Switch from PowerShell/CMD to bash (Git Bash on Windows, native bash on Unix) for all CLI command execution. This provides consistent cross-platform behavior and eliminates Windows-specific issues.

Key changes:

  • Add find_bash_windows() to locate Git Bash executable
  • Add run_bash_command() helper for cross-platform bash execution
  • Replace PowerShell execution with bash in execute_dependency()
  • Replace PowerShell/CMD with bash in configure_mcp_server() for HTTP transport
  • Unify Windows and Unix code paths to use run_bash_command()

Benefits:

  • Consistent cross-platform CLI execution via bash
  • Fixes URL escaping issues with & characters in MCP server URLs
  • Eliminates PowerShell false-positive non-zero exit codes
  • Simpler and more maintainable codebase with unified execution logic

Switch from PowerShell/CMD to bash (Git Bash on Windows, native bash on Unix) for all CLI command execution. This provides consistent cross-platform behavior and eliminates Windows-specific issues.

Key changes:
- Add find_bash_windows() to locate Git Bash executable
- Add run_bash_command() helper for cross-platform bash execution
- Replace PowerShell execution with bash in execute_dependency()
- Replace PowerShell/CMD with bash in configure_mcp_server() for HTTP transport
- Unify Windows and Unix code paths to use run_bash_command()

Benefits:
- Consistent cross-platform CLI execution via bash
- Fixes URL escaping issues with & characters in MCP server URLs
- Eliminates PowerShell false-positive non-zero exit codes
- Simpler and more maintainable codebase with unified execution logic
@github-actions
Copy link

github-actions bot commented Jan 7, 2026

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  scripts
  setup_environment.py 436, 449-473, 494-511, 3426
Project Total  

This report was generated by python-coverage-comment-action

@alex-feel alex-feel merged commit d56706d into main Jan 7, 2026
12 checks passed
@alex-feel alex-feel deleted the alex-feel-dev branch January 7, 2026 21:02
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.

2 participants