Fixes
parent
f5f555936b
commit
b727ad8d39
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue