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

Spawned processes aren't killed #4000

Open
M1kep opened this issue Oct 18, 2024 · 2 comments
Open

Spawned processes aren't killed #4000

M1kep opened this issue Oct 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@M1kep
Copy link

M1kep commented Oct 18, 2024

Describe the bug
When launching processes via :, they don't seem to fully exit/terminate.

To Reproduce

  1. Start lazygit
  2. :
  3. echo "cat"
  4. :
  5. <tab> Enter
  6. q
  7. ps aux | grep echo
  8. See multiple unterminated processes

Expected behavior
Processes to exit when completed

Screenshots
CleanShot 2024-10-18 at 11 31 58@2x

Version info:
commit=, build date=, build source=homebrew, version=0.44.1, os=darwin, arch=arm64, git version=2.46.1
git version 2.46.1

Additional context
Add any other context about the problem here.

Note: please try updating to the latest version or manually building the latest master to see if the issue still occurs.

@M1kep M1kep added the bug Something isn't working label Oct 18, 2024
@stefanhaller
Copy link
Collaborator

I can't reproduce this, and I'm on Mac too, also using zsh.

But I suspect it has something to do with #3793, which is causing all sorts of problems for people (e.g. #3903 and #3923). We might just have to revert that PR for now.

Could you try a lazygit version before 0.44.0; do you also see the unterminated processes with that?

@M1kep
Copy link
Author

M1kep commented Oct 24, 2024

0.43.1 seems to fix the issue, though as expected also breaks the usage of aliases, which I can work around, albeit with uglier commands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants