diff --git a/open/exec_darwin.go b/open/exec_darwin.go index 16160e6..b33770f 100644 --- a/open/exec_darwin.go +++ b/open/exec_darwin.go @@ -1,3 +1,4 @@ +//go:build darwin // +build darwin package open @@ -7,7 +8,7 @@ import ( ) func open(input string) *exec.Cmd { - return exec.Command("open", input) + return exec.Command("open", "-w", input) } func openWith(input string, appName string) *exec.Cmd {