Commit be131f2
process.py: guard signal.SIGALRM for Windows
signal.SIGALRM does not exist on Windows, so referencing it at module
import time raised AttributeError, breaking the import chain (and the
Windows PyInstaller build). Guard it with hasattr, matching the
defensive getattr pattern already used for the notify signals.
Daemonizing is not supported on Windows anyway (no os.fork), so the
empty SIGALRM list has no functional effect there.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 5c0404f commit be131f2
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments