Reverted previous changes to getcmdpath() since it was not working correctly (was returning environment variables instead of the path).
Reverted previous changes to getcmdpath() since it was not working correctly (was returning environment variables instead of the path).

tomprince/psutil,tomprince/psutil,mindw/psutil,cloudbase/psutil,mindw/psutil,qbit/psutil,jamesblunt/psutil,qbit/psutil,msarahan/psutil,packages/psutil,jamesblunt/psutil,Q-Leap-Networks/psutil,landryb/psutil,tomprince/psutil,qbit/psutil,mindw/psutil,jorik041/psutil,jamesblunt/psutil,giampaolo/psutil,cloudbase/psutil,0-wiz-0/psutil,mindw/psutil,cloudbase/psutil,0-wiz-0/psutil,mindw/psutil,msarahan/psutil,landryb/psutil,jorik041/psutil,mrjefftang/psutil,mrjefftang/psutil,giampaolo/psutil,landryb/psutil,packages/psutil,landryb/psutil,tomprince/psutil,tomprince/psutil,msarahan/psutil,mrjefftang/psutil,Q-Leap-Networks/psutil,jorik041/psutil,packages/psutil,landryb/psutil