master
Leonardo Domingues 2021-12-07 17:43:32 -03:00
parent f5f555936b
commit b727ad8d39
1 changed files with 1 additions and 1 deletions

View File

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