aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/startBrowser.go
blob: 018405567a6f656545b21ec721281d196284c909 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package main

import (
	"os/exec"
)

func startBrowser(url string) {
	command := BrowserCommand(url)

	c := exec.Command(command[0], command[1:]...)
	Logger.Printf("Running command: %s result: %v", command, c.Run())
	return
}