Forced heirs and the surviving spouse in community of the testator may compel the executor to furnish security by an ex parte verified petition therefor. If the court finds that the petitioner is a forced heir, or the surviving spouse in community, it shall order the executor to furnish security, within ten days of the service of the order, in an amount determined by the court as adequate to protect the interest of the petitioner.