Use "/bin/bash -l -c which" in executeCmdline