Skip to content

Reap finished openers instead of leaving them as zombies - #56

Merged
LudaLunizz merged 1 commit into
Silvertree2010:mainfrom
LudaLunizz:reap-openers
Nov 21, 2026
Merged

LudaLunizz merged 1 commit into
Silvertree2010:mainfrom
LudaLunizz:reap-openers

Conversation

@LudaLunizz

Copy link
Copy Markdown
Collaborator

Opening a link or folder spawned xdg-open / nautilus / open and dropped the Child without waiting, so every click left a zombie process until noname exited.

The three openers in sys.rs (open, open_url, open_dir) now hand the child to a small thread that waits for it. Checked: 4 zombies under a running noname before the change, one more per click.

🤖 Generated with Claude Code

xdg-open, nautilus and open were spawned and the Child dropped, so each
click left a zombie process until noname exited.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ee962292-34bf-46d3-86ac-bcfe6ac0f038
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@LudaLunizz
LudaLunizz merged commit 0866151 into Silvertree2010:main Nov 21, 2026
5 checks passed
@LudaLunizz LudaLunizz mentioned this pull request Nov 21, 2026
@LudaLunizz
LudaLunizz deleted the reap-openers branch November 27, 2026 19:24
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.

1 participant