On Nov 26, 12:27 pm, bhunter <[EMAIL PROTECTED]> wrote:
> > I've read that this sort of thing can be a pain. I'm sure someone will
> > post and have other views though. I have had some success using
> > Python's threading module though. There's a pretty good walkthrough
> > here (it uses wxPython in its example):
>
> >http://wiki.wxpython.org/LongRunningTasks
>
> > Other places of interest include:
>
> >http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/491281http://...
>
> > If I were doing something like this, I would have the process write
> > it's output to a file and periodically check to see if the file has
> > data.
>
> > Hopefully someone with more knowledge will come along soon.
>
> > Mike
>
> Darn.  Is threading the only way to do it?  I was hoping not to have
> to avoid that.  Would have thought that there might be a way for
> subprocess to handle this automatically.
>
> Thanks for your help,
> Brian

This is just the way I do it...as I said, there are probably some
other people in the group who will have other opinions. By the way,
your statement "I was hoping not to have to avoid that" means that you
hoped to use threading...which I think is contradictory to what you
meant.

Mike
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to