javascript - Run command in particular directory with NodeJS -
i building desktop app in html, css , typescript brackets core. question is: possible run command node.js? want go cd directory , run grunt serve.
i have searched google , node site, couldn't find anything.
thanks
sven
http://nodejs.org/api/child_process.html
child_process.exec('shell command', {cwd: 'current work dir'}, function(err, stdout, stderr) {});
Comments
Post a Comment