const exec = util.promisify(require('child_process').exec); ... As of v0.11.12, Node now supports synchronous spawn and exec.
確定! 回上一頁