child_process.exec(command[, options][, callback]). 创建一个shell,然后在shell里执行命令。执行完成后,将stdout、stderr作为参数传入回调方法。
確定! 回上一頁