mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
9 lines
161 B
Go
9 lines
161 B
Go
|
package open
|
||
|
|
||
|
import "os/exec"
|
||
|
|
||
|
func browser(url string) error {
|
||
|
// xdg-open is available on most Linux-y systems
|
||
|
return exec.Command("xdg-open", url).Run()
|
||
|
}
|