I\'m using Grunt (task-based command line build tool for JavaScript projects) in my project. I\'ve created a custom tag and I am wondering if it is possible to run a command
Check out grunt.util.spawn:
grunt.util.spawn
grunt.util.spawn({ cmd: 'rm', args: ['-rf', '/tmp'], }, function done() { grunt.log.ok('/tmp deleted'); });