Can be used with import thusly:
import
import { exec } from "child_process"; exec('start https://www.google.com/');