Re: Python process communication

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fredrik Lundh

    Re: Python process communication

    projects.gg.aar on@gmail.com wrote:
    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.
    do you control the other process? can you make it listen to a local
    socket or a named pipe?

    </F>

Working...