use flags for pluginHost

This commit is contained in:
Zoe
2025-05-20 19:51:52 +00:00
parent 8901340859
commit 1e4dc0c558
2 changed files with 32 additions and 17 deletions

View File

@@ -277,7 +277,7 @@ func (gloom *GLoom) RegisterPlugin(pluginPath string, name string, domains []str
slog.Debug("Starting pluginHost", "pluginPath", pluginPath)
processPath := path.Join(gloom.gloomDir, "pluginHost")
args := []string{pluginPath, socketPath}
args := []string{"--plugin-path", pluginPath, "--socket-path", socketPath}
cmd := exec.Command(processPath, args...)
stderrPipe, err := cmd.StderrPipe()