mas-cli / mas-cli/mas

Hangs under tmux if dialog must be displayed

Open
#95 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug tmux
Dominant language
Swift
Stars
12.4k
Forks
299
Avg merge
1d 2h
Merged PRs (30d)
1

Description

I tried to upgrade "Calendar 2", which has a menu bar presence. When you try to update from the App Store, a dialog will pop up saying it can not be updated while running.

When running the equivalent command using mas from a tmux window running in iTerm, mas just hangs. (I have reattach-to-user-namespace configured.)

When I run the same command in a plain iTerm window, the dialog will appear.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named. Reproduce the equivalent mas update command in iTerm with and without tmux, using the reported reattach-to-user-namespace setup, and compare the behavior when the App Store dialog appears. Done means the command no longer hangs under tmux and the dialog can be displayed.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.