Skip to content

Fix macOS cmux launches without regressing Unicode arguments - #43

Merged
tobi merged 3 commits into
mainfrom
straightforward-followups
Sep 27, 2026
Merged

tobi merged 3 commits into
mainfrom
straightforward-followups

Conversation

@tobi

@tobi tobi commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

Interactive macOS launches from cmux now start once in a separate process group, preventing cmux from terminating disktree when AppKit takes focus. This integrates #23 while preserving the current Unicode-capable argument parser; non-cmux and noninteractive launches retain their existing behavior.

The original PR's commits are preserved. Native Windows cargo xtask lint passed. This PR runs cross-platform CI against current main. The original author reports reproducing the issue and verifying the fix in cmux on macOS.

ashwch and others added 3 commits September 25, 2026 15:40
cmux terminates the foreground process group when AppKit activates an executable reached through the macOS command-line symlink.

Restart interactive cmux launches once in their own process group before AppKit starts. Preserve arguments, prevent recursive restarts with an environment marker, and leave non-cmux and non-interactive launches unchanged.
…owups

# Conflicts:
#	crates/disktree-app/src/main.rs
@tobi
tobi merged commit 1664dac into main Sep 27, 2026
6 checks passed
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