From 1f876d049a20fa04c76dcef42562de1d1f43e3af Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 1 Oct 2019 06:45:13 -0400 Subject: Subprocesses only use config file options --- doc/subprocess.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/subprocess.rst b/doc/subprocess.rst index 06068959..34d7f5ba 100644 --- a/doc/subprocess.rst +++ b/doc/subprocess.rst @@ -22,6 +22,10 @@ examines the ``COVERAGE_PROCESS_START`` environment variable, and if it is set, begins coverage measurement. The environment variable's value will be used as the name of the :ref:`configuration file ` to use. +.. note:: + The subprocess only sees options in the configuration file. Options set on + the command line will not be used in the subprocesses. + When using this technique, be sure to set the parallel option to true so that multiple coverage.py runs will each write their data to a distinct file. -- cgit v1.2.1