| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/scanmem/files/ |
Upload File : |
--- gui/GameConqueror.py.orig 2017-10-13 21:53:16 UTC
+++ gui/GameConqueror.py
@@ -909,7 +909,7 @@ class GameConqueror():
def get_process_list(self):
plist = []
- for proc in os.popen('ps -wweo pid=,user:16=,command= --sort=-pid').readlines():
+ for proc in reversed(os.popen('ps -axww -o pid= -o user= -o command=').readlines()):
(pid, user, pname) = [tok.strip() for tok in proc.split(None, 2)]
plist.append((int(pid), user, pname))
return plist
@@ -942,7 +942,7 @@ class GameConqueror():
self.cheatlist_liststore[i][1] = False
def read_maps(self):
- lines = open('/proc/%d/maps' % (self.pid,)).readlines()
+ lines = open('/compat/linux/proc/%d/maps' % (self.pid,)).readlines()
self.maps = []
for l in lines:
item = {}
@@ -1190,7 +1190,6 @@ if __name__ == '__main__':
args = parser.parse_args()
# Init application
- GObject.threads_init()
Gdk.threads_init()
gc_instance = GameConqueror()