Skip to content

Commit 4344c93

Browse files
authored
Fix findAndKillCurrentPlugin for long names (#613)
1 parent f2629e0 commit 4344c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/standalone/standalone.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func findAndKillCurrentPlugin(dir string) {
147147
return
148148
}
149149

150-
out, err := exec.Command("pgrep", exeprefix).Output()
150+
out, err := exec.Command("pgrep", "-f", exeprefix).Output()
151151
if err != nil {
152152
fmt.Printf("error running pgrep: %s (%s)", err.Error(), exeprefix)
153153
return

0 commit comments

Comments
 (0)