Debian Codegraph @

open/exec.go

raw symbols SCIP
1 // +build !windows,!darwin
2
3 package open
4
5 import (
6 "os/exec"
7 )
8
9 // http://sources.debian.net/src/xdg-utils/1.1.0~rc1%2Bgit20111210-7.1/scripts/xdg-open/
10 // http://sources.debian.net/src/xdg-utils/1.1.0~rc1%2Bgit20111210-7.1/scripts/xdg-mime/
11
12 func open(input string) *exec.Cmd {
13 return exec.Command("xdg-open", input)
14 }
15
16 func openWith(input string, appName string) *exec.Cmd {
17 return exec.Command(appName, input)
18 }