with-accepted-exit-codes ------------------------ .. highlight:: dune .. describe:: (with-accepted-exit-codes ) .. versionadded:: 2.0 Specifies the list of expected exit codes for the programs executed in ````. ```` is a predicate on integer values, and it's specified using the :doc:`/reference/predicate-language`. ```` can only contain nested occurrences of ``run``, ``bash``, ``system``, ``chdir``, ``setenv``, ``ignore-``, ``with-stdin-from``, and ``with--to``. Example:: (with-accepted-exit-codes (or 1 2) (run false))