primitive command finish