Escape python2 command in Darwin (In Darwin, python2 command is not supported).