remove noisy messages from which. Replace os.system with subprocess
Remove deprecated os.system and os.popen calls.
Merge pull request #1 from ZEDGR/master

Remove noisy messages from which command and deprecated functions.