Skip to content

Commit b4edc26

Browse files
committed
docs: clarify that patch=subprocess requires configuration files. #2021
1 parent 9d920c3 commit b4edc26

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/config.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,10 @@ Available patches:
459459
and will require combining data files before reporting. See
460460
:ref:`cmd_combine` for more details.
461461

462+
.. note:: When using ``patch = subprocess``, all configuration options must
463+
be specified in a configuration file. Options on the ``coverage``
464+
command line will not be available to subprocesses.
465+
462466
- ``execv``: The :func:`execv <python:os.execl>` family of functions end the
463467
current program without giving coverage a chance to write collected data.
464468
This patch adjusts those functions to save the data before starting the next

0 commit comments

Comments
 (0)