remove open-golang dependency
This commit is contained in:
parent
93eeef0131
commit
5b0b47635d
8 changed files with 37 additions and 7 deletions
9
src/platform/open_etc.go
Normal file
9
src/platform/open_etc.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// +build !windows,!darwin
|
||||
|
||||
package platform
|
||||
|
||||
import "os/exec"
|
||||
|
||||
func open(input string) *exec.Cmd {
|
||||
return exec.Command("xdg-open", input)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue