windows系统:

const { exec } = require("child_process");
exec("start https://www.google.com");