Skip to content

v0.4.5 — Windows compatibility fix

Choose a tag to compare

@raushan-aifiesta raushan-aifiesta released this 05 Jul 11:03

Windows compatibility fix

Fixes a fatal Windows-only startup crash and two related latent crashes. All changes are hasattr-guarded no-ops on POSIX, so macOS/Linux behavior is unchanged.

Fixed

  • Startup crash on Windowssignal.SIGHUP is POSIX-only; referencing it in the signal-handler registration raised an uncaught AttributeError at launch, hard-blocking every Windows user. The signal list is now built with a hasattr guard.
  • _kill_server (cli.py) — os.killpg/os.getpgid are POSIX-only; falls back to os.kill(pid, SIGTERM) on Windows.
  • run_bash timeout kill (tools.py) — os.killpg/signal.SIGKILL are POSIX-only; falls back to proc.kill() on Windows.

Install / upgrade: pipx upgrade meshapi-code (or pip install -U meshapi-code)

🤖 Generated with Claude Code