This is a copy of https://github.com/spmjs/grunt-cmd-transport