#!/usr/local/bin/python3 import subprocess; print([subprocess.check_output(['lsof', '-wXFn', '+p', str(pid)], stderr=DEVNULL) for pid in range(999)])