node打开本地应用程序

1.打开浏览器 最简单的方法: const cp = require('child_process') cp.exec('start http://127.0.0.1:8889/'); // 自动打开默认浏览器 另a56爆大奖在线娱乐方法是安装open 依赖包: const open = require('open
posted @ 2021-01-29 17:26  sweeeper  阅读(533)  评论(0编辑  收藏  举报