./www/p5-Browser-Open, Open a browser in a given URL

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2019Q4, Version: 0.04, Package name: p5-Browser-Open-0.04, Maintainer: pkgsrc-users

The functions optionaly exported by this module allows you to open URLs in
the user browser.

A set of known commands per OS-name is tested for presence, and the first
one found is executed. With an optional parameter, all known commands are
checked.

The "open_browser" uses the system() function to execute the command. If
you want more control, you can get the command with the "open_browser_cmd"
or "open_browser_cmd_all" functions and then use whatever method you want
to execute it.


Master sites:

SHA1: 332ff73c052b1ac881f42cc30611cffdebb330fb
RMD160: 6a2d22df08dad52bc4ab7dff2d2b4ae95185d26b
Filesize: 3.912 KB

Version history: (Expand)