write logfile before injecting into a process
correctly wait until cuckoomon reports back after injecting