jesseduffield / jesseduffield/lazygit

Spawned processes aren't killed

Open
#4,000 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**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. ` 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](https://github.com/user-attachments/assets/e9ac6952-24cf-40b2-8500-ea9ec764279b)

**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](https://github.com/jesseduffield/lazygit/#manual) the latest `master` to see if the issue still occurs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.