Execute pmd through /bin/bash, not directly