I think he wants to attach to another process's stdin/stdout and
read/write from/to them.
I don't know if this is possible but it would be a great addition for psutil.


--- Giampaolo
http://code.google.com/p/pyftpdlib/
http://code.google.com/p/psutil/




2011/3/10 Miki Tebeka <miki.teb...@gmail.com>:
>> Is there any way to attach to an already running process by pid? I want to 
>> send
>> commands from python to an application that is already running. I don't want 
>> to
>> give the command name to subprocess.Popen.
> We probably need more information. What do you mean by "send commands"? (What 
> was your work flow if you could give the command name to Popen?)
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to