attach to process by pid?

Grant Edwards invalid at invalid.invalid
Wed Mar 9 11:56:32 EST 2011


On 2011-03-09, Danny Shevitz <shevitz at lanl.gov> wrote:
>
>> process has some kind of communication(s) interface; eg:
>>  * some kind of listening socket
>>  * some kind of I/O (pipe, stdin/stdout)
>
> It does have a stdin/stdout. How do I access it?

You don't.  You access the "other end" of the pipe or pty to which
the program's stdin/stdout is attached.

-- 
Grant Edwards               grant.b.edwards        Yow! All of life is a blur
                                  at               of Republicans and meat!
                              gmail.com            



More information about the Python-list mailing list