fix: on darwin wait when opening

This commit is contained in:
Jamie Chapman-Brown 2023-06-22 15:53:08 -04:00
parent eef8423979
commit 8e7ecfe35e
No known key found for this signature in database
GPG Key ID: 0ABE706B7E045F22
1 changed files with 2 additions and 1 deletions

View File

@ -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 {