Detach spawned process