@@ -443,10 +443,19 @@ side-effects.
443443
444444Available patches:
445445
446+ - ``execv ``: The :func: `execv <python:os.execl> ` family of functions end the
447+ current program without giving coverage a chance to write collected data.
448+ This patch adjusts those functions to save the data before starting the next
449+ executable. Not available on Windows.
450+
446451- ``_exit ``: The :func: `os._exit() <python:os._exit> ` function exits the
447452 process immediately without calling cleanup handlers. This patch saves
448453 coverage data before exiting.
449454
455+ - ``fork ``: Forking a process normally continues measuring coverage properly.
456+ This patch stops the previous coverage and starts a new one in the child
457+ process for those times when the default handling isn't enough.
458+
450459- ``subprocess ``: Python sub-processes normally won't get coverage measurement.
451460 This patch configures Python to start coverage automatically, and will apply
452461 to processes created with :mod: `subprocess `, :func: `os.system `, or one of the
@@ -459,11 +468,6 @@ Available patches:
459468 and will require combining data files before reporting. See
460469 :ref: `cmd_combine ` for more details.
461470
462- - ``execv ``: The :func: `execv <python:os.execl> ` family of functions end the
463- current program without giving coverage a chance to write collected data.
464- This patch adjusts those functions to save the data before starting the next
465- executable. Not available on Windows.
466-
467471.. versionadded :: 7.10
468472
469473
0 commit comments