Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy command leaves a lot of zombie processes #4054

Open
non-descriptive opened this issue Mar 10, 2025 · 1 comment
Open

Copy command leaves a lot of zombie processes #4054

non-descriptive opened this issue Mar 10, 2025 · 1 comment

Comments

@non-descriptive
Copy link

Basic information
Debug log: zellij-22.log

zellij --version: zellij 0.41.2

stty size: 33 140

uname -av:
Linux user 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux

Reproduction steps

  1. Run zellij session using config with copy_command set and copy_on_select enabled
  2. Select some text to make it into clipboard
  3. Paste it somewhere to make sure it works
  4. Copy again couple times
  5. run command ps ax|grep wl-copy and see something like
 581867 ?        Z      0:00 [wl-copy] <defunct>
 614145 ?        Z      0:00 [wl-copy] <defunct>
 649179 ?        S      0:00 wl-copy

where is a zombie.

Issue description

On every copy on select new child process with copy command is spawned and previous command process (if any) turns into zombie process. My current copy command is wl-copy, but had similar issues with xclip, so likely it has issues with other copy commands.

@SergioCordova
Copy link

I am also having this same issue. I tried with both xclip and xsel and both appear to leave zombie processes

@non-descriptive non-descriptive changed the title Copy comand leaves a lot of zombie processes Copy command leaves a lot of zombie processes Mar 13, 2025
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

No branches or pull requests

2 participants