node驱动终端命令
```js
var exec = require('child_process').exec;
var cmdStr = 'cat test.js';
exec(cmdStr, function (err, stdout, stderr) {
    if (err) {
        console.log('error:' + stderr);
        return;
    } else {
        //var data = JSON.parse(stdout);
        console.log(stdout);
    }
});
```