mte/unikernel/duniverse/dune_/doc/reference/actions/with-outputs-to.rst
2025-11-11 02:07:51 +01:00

14 lines
323 B
ReStructuredText

with-<outputs>-to
-----------------
.. highlight:: dune
.. describe:: (with-<outputs>-to <file> <DSL>)
Redirect the output to a file, where ``<outputs>`` is one of: ``stdout``,
``stderr`` or ``outputs`` (for both ``stdout`` and ``stderr``).
Example::
(with-stdout-to conf.txt
(run ./get-conf.exe))