Versions 59 to 60
new file, 53 lines
4+
6+
8+export function browserSkip(env: Readonly<Record<string, string | undefined>>, platform: string): string | null {
17+
19+ * The program that opens `url` in the default browser, and its arguments. No shell, so nothing in the url is
27+
28+/** Only web pages are opened: a link from a server is never handed to the desktop as a file or another program. */
37+
39+ * Opens `url` in the default browser and doesn't wait. Answers whether it started an opener; a failure
42+export function openInBrowser(url: string, platform: string = process.platform, run: typeof spawn = spawn): boolean {
- MCP
- compare on this site's /mcp
- CLI
- abso diff 59 60 client/src/open-browser.ts --json
- JSON
- /christopher/abso-core/compare/59..60?file=client%2Fsrc%2Fopen-browser.ts&format=json