implement Run and Attach

cribbed iomux and process-tracker from the linux backend