mem_edit/mem_edit
xerool 46e9456fd4 linux: wait for process before detach, and send SIGCONT
I had issues with the ptrace call failing because the process had not yet stopped
from SIGSTOP.
From this stackoverflow answer, it seems that you can use waitpid to
wait until the process is actually stopped. In python, this is exposed
as os.waitpid.

https://stackoverflow.com/questions/20510300/ptrace-detach-fails-after-ptrace-cont-with-errno-esrch#20525326

Additionally, the process was left frozen. I send a SIGCONT to continue
the process after the detach, so that it isn't left stopped.
2022-04-30 22:37:17 -05:00
..
__init__.py move version info into VERSION.py 2020-11-01 20:16:06 -08:00
abstract.py try to reduce log spam 2021-04-08 19:49:19 -07:00
linux.py linux: wait for process before detach, and send SIGCONT 2022-04-30 22:37:17 -05:00
utils.py cosmetic and typing-related changes 2020-11-01 20:16:46 -08:00
VERSION.py bump version to v0.6 2021-04-08 19:50:22 -07:00
windows.py try to reduce log spam 2021-04-08 19:49:19 -07:00