Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

Windows support: replace fcntl with cross-platform locking #1

Description

@hirobirofran

Summary

I'd like to use intercom on Windows, but it currently doesn't work due to fcntl usage, which is a POSIX-only module.

What doesn't work

  • fcntl.flock() in _acquire_lock(), _is_alive(), and _append_event()fcntl doesn't exist on Windows
  • tmux dependency — not available natively on Windows, but this is already handled by the AGENT_NAME fallback, so it's a non-issue

Possible fix

The fcntl-based locking could be replaced with a cross-platform approach, for example using filelock, which abstracts over both POSIX and Windows with a simple API.

I'm happy to work on a PR if this direction seems reasonable to you.

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