How to get environment from a subprocess in Python,proc.communicate()