| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
PTY disposal was using process.kill() directly which: - Only sends SIGTERM without SIGKILL escalation - Doesn't kill child processes spawned by the shell - Doesn't handle Windows process trees Added killPtyTree() helper (based on Shell.killTree pattern) that: - Kills the process group (-pid) - Escalates to SIGKILL after 200ms if needed - Uses taskkill /t on Windows for tree kill - Uses Promise.all for parallel cleanup of multiple sessions - Properly catches errors for already-exited processes
|
Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Problem
PTY disposal was using process.kill() directly which:
Solution
Added killPtyTree() helper (based on Shell.killTree pattern) that:
Related: #3057, #5525