Port bits of Kernel#system and hook up spawn logic.