> On Oct 24, 2025, at 3:22 PM, Kirill Miazine <[email protected]> wrote: > > • Kirill Miazine [2025-10-24 16:44]: >> >> I have another edge case, and no idea what could be causing it. >> >> In my Pyng setup, I run quite a few commands, and today I discovered that >> one particular configuration just ... disappears. >> >> The command executes once, exits, results are processed and command is >> scheduled for re-execution later. But then it just ... hangs. Here is some >> output which hopefully shows what happens (and I have no idea why...) >> >> <output> >> >> will run a1ece83c0a >> ran a1ece83c0a >> exited! >> ended! >> got results for a1ece83c0a >> will run a1ece83c0a >> ran a1ece83c0a >> exited! >> >> </output> >> > > I guess this might be something very system-specific... I don't know. If I > change the URL, the problem is gone. If I ask a separate runner to do the > check, it works. If I try the code on different OS, it works. > > I would still like to have ideas, though, as could be doing something in not > very Twisted way
Sorry for the long delay on this; it's a pretty vague question and I don't feel like I have all the details, so there's a lot of resistance to diving in. However, although I can't really tell you what's wrong for sure, I could tell you what could be wrong, because "processEnded" with no "processExited" means something specific: it means that your process closed all its output streams connected to its (Twisted) parent, and thus it has "ended" in terms of being able to produce output events. However, it has not "existed" in that its PID has not been reaped. There are a variety of reasons why this might happen, and it is a valid, if somewhat odd, thing for a process to do. I hope you figured out something that works! -g
_______________________________________________ Twisted mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/twisted.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/WFJOXY6QGUPSPGACXEMYSQWZP6GEK2O3/ Code of Conduct: https://twisted.org/conduct
