Request fixed

master
Leonardo Domingues 2021-12-07 17:33:39 -03:00
parent bd3bcefcc2
commit f5f555936b
1 changed files with 1 additions and 1 deletions

View File

@ -527,7 +527,7 @@ func (c *Cli) ProcExec(cmd string) error {
}
func (c *Cli) ProcName(pid int) (ret string, err error) {
err = c.HttpCli().JsonGet(fmt.Sprintf("/ipc/wingui/proc/name?cmd=%d", pid), &ret)
err = c.HttpCli().JsonGet(fmt.Sprintf("/ipc/wingui/proc/name?pid=%d", pid), &ret)
return ret, err
}