Skip to content

Commit

Permalink
[Minor PR] Quotes in documentation changed into code blocks (pythonGH…
Browse files Browse the repository at this point in the history
…-99536)

Minor formatting fix in documentation

(cherry picked from commit efccd04)

Co-authored-by: Bart Broere <mail@bartbroere.eu>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
  • Loading branch information
2 people authored and miss-islington committed Dec 24, 2022
1 parent 341bdd6 commit f2ec664
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Doc/library/subprocess.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1567,13 +1567,17 @@ 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
``vfork()`` internally within its libc implementation. There is a similar
: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
Expand Down

0 comments on commit f2ec664

Please sign in to comment.