Ip限制 npc代理连接

This commit is contained in:
刘河 committed 2019-02-16 20:43:26 +08:00
1 parent 9f6b33a62b
commit 3b18d66835
64 files changed
+1414 -132

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ func status(f string, pidPath string) bool {
if !common.IsWindows() {
cmd = exec.Command("/bin/sh", "-c", "ps -ax | awk '{ print $1 }' | grep "+string(b))
} else {
cmd = exec.Command("tasklist", )
cmd = exec.Command("tasklist")
}
out, _ := cmd.Output()
if strings.Index(string(out), string(b)) > -1 {