From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 24 Dec 2022 20:26:11 +0000 (-0800) Subject: [Minor PR] Quotes in documentation changed into code blocks (GH-99536) X-Git-Tag: v3.11.2~138 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=80013d78e0efa0bbb610408227ead50a4f16588d;p=thirdparty%2FPython%2Fcpython.git [Minor PR] Quotes in documentation changed into code blocks (GH-99536) Minor formatting fix in documentation (cherry picked from commit efccd04b9efc1752a845b377399d2068b06d04e7) Co-authored-by: Bart Broere Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> --- diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 14414ea7f81e..e4e38e933681 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -1567,6 +1567,8 @@ If you ever encounter a presumed highly unusual situation where you need to prevent ``vfork()`` from being used by Python, you can set the :attr:`subprocess._USE_VFORK` attribute to a false value. +:: + subprocess._USE_VFORK = False # See CPython issue gh-NNNNNN. Setting this has no impact on use of ``posix_spawn()`` which could use @@ -1574,6 +1576,8 @@ Setting this has no impact on use of ``posix_spawn()`` which could use :attr:`subprocess._USE_POSIX_SPAWN` attribute if you need to prevent use of that. +:: + subprocess._USE_POSIX_SPAWN = False # See CPython issue gh-NNNNNN. It is safe to set these to false on any Python version. They will have no