-
It looks like commands executed in ghostty inherit filedescriptors coming originally from ghostty. I am not sure this is by design, if these needs to be inherited by the shell ( I noticed lvm commands complain about filedescriptors leaked from the parent process (so lvm sees fds that have been opened by the parent and the parent did not use O_CLOEXEC or closed the filehandle explicitly before execing the lvm process. Freshly started ghostty with zsh as my shell:
This is not happening when running through
and the following listing in ghostty:
Should these file handles all be available to the shell process? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I realized what I showed is not the minimal example. The number of open filehandles depends on the number of parallel
|
Beta Was this translation helpful? Give feedback.
-
I am experiencing this as well. |
Beta Was this translation helpful? Give feedback.
-
Oof. Good find, I'm surprised this slipped through the beta program. Fixed in #5341. Note, there are still some fds being leaked but they seem GTK-related and I'm not entirely sure where they come from. I plan to look into it but the linked PR fixes the major issues. |
Beta Was this translation helpful? Give feedback.
Oof. Good find, I'm surprised this slipped through the beta program. Fixed in #5341. Note, there are still some fds being leaked but they seem GTK-related and I'm not entirely sure where they come from. I plan to look into it but the linked PR fixes the major issues.