goadb/server_controller.go
2015-07-11 23:21:10 -07:00

15 lines
234 B
Go

package goadb
import "os/exec"
/*
StartServer ensures there is a server running.
Currently implemented by just running
adb start-server
*/
func StartServer() error {
cmd := exec.Command("adb", "start-server")
return cmd.Run()
}