Fast way to send message between 2 child processes? (using a file is too slow?)
Christian Seberino
seberino at spawar.navy.mil
Mon Mar 8 21:27:33 EST 2004
process1_tuple = os.popen4("some code1")
process2_tuple = os.popen4("some code2")
----
What is fast way to send a message between process1 and process2??
process2 cannot just write to STDIN of process1 because he doesn't
have a reference to process1. (process2 does not have process1_tuple)
------
The only way I could think to do this was to write and read from a file but this
is SLOW.
Is there another way **without using a file**??
Thanks!
Chris
More information about the Python-list
mailing list