Commented out all ptrace calls. They were causing some issues with restarting the child process.