fix: on darwin wait when opening
This commit is contained in:
parent
eef8423979
commit
8e7ecfe35e
|
@ -1,3 +1,4 @@
|
||||||
|
//go:build darwin
|
||||||
// +build darwin
|
// +build darwin
|
||||||
|
|
||||||
package open
|
package open
|
||||||
|
@ -7,7 +8,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func open(input string) *exec.Cmd {
|
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 {
|
func openWith(input string, appName string) *exec.Cmd {
|
||||||
|
|
Loading…
Reference in New Issue