2012/9/19 Christian Heimes <christ...@python.org>: >> So the question: >> * If I execve a python script (from C), how can I retrieve the list of >> files, and optionally the list of locks, from within the execve(d) >> python process so that I can use them? > > Have a look at psutil: > > http://code.google.com/p/psutil/#Process_management > > Christian > > -- > http://mail.python.org/mailman/listinfo/python-list
Unfortunately I'm not allowed to install 3rd party SW unless it's absolutely necessary, but thanks for sharing, I'll have a look at the arch dependent code : ) Ismael -- Do not let me induce you to satisfy my curiosity, from an expectation, that I shall gratify yours. What I may judge proper to conceal, does not concern myself alone. -- http://mail.python.org/mailman/listinfo/python-list