process.exec(command, function (error, stdout, stderr) {
}
然后超过 20 分钟就会执行 function 里面的内容 但是 cmd 进程还在继续执行,也就是命令没有执行完毕