Fix patcher issue - actually replace spawning code

Signed-off-by: Ross Allan <rallanpcl@gmail.com>