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.js
open a file or url in the default associated application
install
npm install open
usage
var open = require('open');
open('http://www.google.com');
how it works
- on
win32
usesstart
- on
darwin
usesopen
- otherwise uses the xdg-open script from Portland
warning
The same care should be taken when calling open as if you were calling child_process.exec directly. If its an executable it will run in a new shell.