It shall be the duty of the executor or administrator to set apart to the widow and children, or to the widow if there be no children, or to the children if there be no widow, such personal property as is exempt by law from execution. The action of the executor or administrator shall not be necessary to the title of the widow and children to the exempt property, which shall vest in them by operation of law on the death of the husband and father.