Open a file, directory, or URI using the OS's default application for
that object type. Optionally, you can specify an application to use.
This is a proxy for the following commands:
OSX: "open"
Windows: "start"
Linux/Other: "xdg-open"
This is a golang port of the node.js module:
https://github.com/pwnall/node-open
http://godoc.org/github.com/skratchdot/open-golang/open
import "github.com/skratchdot/open-golang/open"
open.Run("https://google.com/")
open.Start("https://google.com")
err := open.Run("https://google.com/")
open.RunWith("https://google.com/", "firefox")
Open a file, directory, or URI using the OS's default application for
that object type. Wait for the open command to complete.
Open a file, directory, or URI using the specified application. Wait for
the open command to complete.
Open a file, directory, or URI using the OS's default application for
that object type. Don't wait for the open command to complete.
Open a file, directory, or URI using the specified application. Don't
wait for the open command to complete.
Copyright (c) 2013 skratchdot
Licensed under the MIT license.