Package Exports
- open
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (open) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
open
open a file or url in the user's preferred application
usage
var open = require('open');
open('http://www.google.com');
install
npm install open
how it works
- on
win32
usesstart
- on
darwin
usesopen
- otherwise uses the
xdg-open
script from freedesktop.org
warning
The same care should be taken when calling open as if you were calling child_process.exec directly. If it is an executable it will run in a new shell.