fleet/pkg/open/open_linux.go
Lucas Manuel Rodriguez c82c580716
Orbit: Add Fleet Desktop support to Windows (#4873)
* Orbit: Add Fleet Desktop support to Windows

* Rename workflow, fix linux build

* Do not compile systray on linux

* nolint on unused

* Fix lint properly

* nolint both checkers

* Fix monitor logic in desktopRunner

* Fix interrupt and execute order
2022-04-01 17:28:51 -03:00

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()
}