Relocate the Process class so we can use it in WP-CLI