diff --git a/mem_edit/linux.py b/mem_edit/linux.py index 18f3b8f..aa25a49 100644 --- a/mem_edit/linux.py +++ b/mem_edit/linux.py @@ -58,7 +58,9 @@ class Process(AbstractProcess): def close(self): os.kill(self.pid, signal.SIGSTOP) + os.waitpid(self.pid, 0) ptrace(ptrace_commands['PTRACE_DETACH'], self.pid, 0, 0) + os.kill(self.pid, signal.SIGCONT) self.pid = None def write_memory(self, base_address: int, write_buffer: ctypes_buffer_t): diff --git a/setup.py b/setup.py index 130ebf2..b5a234e 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setup(name='mem_edit', long_description=long_description, long_description_content_type='text/markdown', author='Jan Petykiewicz', - author_email='anewusername@gmail.com', + author_email='jan@mpxd.net', url='https://mpxd.net/code/jan/mem_edit', keywords=[ 'memory',