projects.gg.aar on@gmail.com wrote:
do you control the other process? can you make it listen to a local
socket or a named pipe?
</F>
I'd like to write a script that will connect to another already running
process, pipe some data to it's input and receive data from it's output.
I can create another process using subprocess module, but how do I
connect to already running process? Maybe there is a better solution for
process communication? I've searched in the net and found nothing, so
I've decided to post my problem here, hopefully someone will help me.
process, pipe some data to it's input and receive data from it's output.
I can create another process using subprocess module, but how do I
connect to already running process? Maybe there is a better solution for
process communication? I've searched in the net and found nothing, so
I've decided to post my problem here, hopefully someone will help me.
socket or a named pipe?
</F>