Files
appcore/open/open_linux.go
2025-10-03 00:12:00 +05:30

16 lines
255 B
Go

package open
import (
"os/exec"
)
// http://sources.debian.net/src/xdg-utils
func open(input string) *exec.Cmd {
return exec.Command("xdg-open", input)
}
func openWith(input string, appName string) *exec.Cmd {
return exec.Command(appName, input)
}