How to get filename from a pid?

Tim Golden mail at timgolden.me.uk
Thu Jun 25 14:52:55 CEST 2009


Dudeja, Rajat wrote:
> Hi,
> 
> I've a PID of a process (the process is a notepad application), 
> I want to know which file is opened by this process.

Is there anything wrong with this answer which I gave you
last week? (Note: there might be, but the fact that you
seem to have ignored it makes me wonder...)

http://groups.google.com/group/comp.lang.python/msg/6a44e15473b08de0?hl=en

TJG



More information about the Python-list mailing list