Inter-process communication, how?

Nikita the Spider NikitaTheSpider at gmail.com
Sat Dec 22 15:30:36 EST 2007


In article 
<d985279d-0605-4f60-8b08-977db7070b6d at e25g2000prg.googlegroups.com>,
 ecir.hana at gmail.com wrote:

> Hi,
> let's say I have two scripts: one does some computations and the other
> one is a graphical front end for launching the first one. And both run
> in separate processes (front end runs and that it spawns a subprocess
> with the computation). Now, if the computation has a result I would
> like to display it in the front end. In another words, I would like to
> pass some data from one process to another. How to do that? I'm
> affraid I can't use a pipe since the computation could print out some
> logging (if I understant pipes correctly).

Others have given you good suggestions; there's also this option which 
may or may not be an appropriate tool for what you want to do:
http://NikitaTheSpider.com/python/shm/

-- 
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more



More information about the Python-list mailing list