Skip to content
This repository was archived by the owner on May 24, 2026. It is now read-only.

Fix silent crash when pane:get_foreground_process_info returns nil#145

Open
midgramr wants to merge 2 commits into
MLFlexer:mainfrom
midgramr:fix-nil-proc-info
Open

Fix silent crash when pane:get_foreground_process_info returns nil#145
midgramr wants to merge 2 commits into
MLFlexer:mainfrom
midgramr:fix-nil-proc-info

Conversation

@midgramr

@midgramr midgramr commented May 12, 2026

Copy link
Copy Markdown

This will close #144. I tested by saving a workspace with an active top and/or ps -ef | less process running and it successfully restored those processes on workspace restoration. The only caveat is that I any arguments the process runs with are discarded, since those can't be captured when get_foreground_process_info is nil.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when attempting to save workspace with active top process

1 participant