采用child_process的exec方法可以这样来写: var exec = require('child_process').exec; var child = exec('./a.out', function (err, stdout, stderr) {
確定! 回上一頁