-
Notifications
You must be signed in to change notification settings - Fork 44
Description
I recently upgraded a Pyinstaller-built program to use Python 3.11. This resulted in the binary using a newer version of glibc than the target platform supported, which led me to discover staticx, without which this effort would be rather doomed. So first things first - thank you for building this. π
Back when I first started using Pyinstaller, I noticed that most signals were not being forwarded to the child process. In particular, my program uses a somewhat arbitrary signal number to control the logging level of the child process. A more commonly-used example would be SIGHUP, which is often used to ask a daemon to reload its configuration from disk.
I made a change to the Pyinstaller bootloader back in 2018 whereby it forwards all signals (except SIGCLD/SIGCHLD, because they're special) to the child process. I think something similar would work for staticx's (grammar...? π
) bootloader, but I haven't had a chance to try it out yet.
I might get some time to put together a PR for this, but I wanted to first open this issue so as to:
- get your feedback on the idea; and
- give you the chance to maybe get to it before I do π
Thanks again!