Replace guts of launch command to use Open3.capture3

@jrafanie @brandondunne Please review.