We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb6e117 commit 07ef34fCopy full SHA for 07ef34f
internal/services/open/exec.go
@@ -12,7 +12,7 @@ import (
12
func open(uri string) *exec.Cmd {
13
switch {
14
case os.Getenv(DisabledEnvKey) != "":
15
- fmt.Println(fmt.Sprintf("xdg-open %s", uri))
+ fmt.Printf("xdg-open %s\n", uri)
16
return nil
17
default:
18
return exec.Command("xdg-open", uri)
@@ -22,7 +22,7 @@ func open(uri string) *exec.Cmd {
22
func openWith(input string, appName string) *exec.Cmd {
23
24
25
- fmt.Println(fmt.Sprintf("%s %s", appName, input))
+ fmt.Printf("%s %s\n", appName, input)
26
27
28
return exec.Command(appName, input)
0 commit comments