ext_232732 ([identity profile] eichin.livejournal.com) wrote in [personal profile] dmaze 2003-11-20 12:25 pm (UTC)

perhaps that's because noone uses threads :-)

signals and threads also mix badly. Something to note is that SIGIO is SIG_IGN in python, and this is inherited; doesn't sound like your problem, but it's something to know when doing that.

I asked about a similar problem ("why isn't there a way to exec a pipeline with array args") and got the answer that once you get beyond commands.getstatusoutput, you tend to have hard-to-generalize things that you want. I don't agree, but haven't gotten around to posting my pipeline class.

If the child isn't dealing with timeouts itself, consider just setting an alarm() after the fork, instead of having the parent try to do it...

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org