Request fixed
parent
bd3bcefcc2
commit
f5f555936b
|
@ -527,7 +527,7 @@ func (c *Cli) ProcExec(cmd string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Cli) ProcName(pid int) (ret string, err 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
|
return ret, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue