Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b70487 commit 80013d7Copy full SHA for 80013d7
Doc/library/subprocess.rst
@@ -1567,13 +1567,17 @@ If you ever encounter a presumed highly unusual situation where you need to
1567
prevent ``vfork()`` from being used by Python, you can set the
1568
:attr:`subprocess._USE_VFORK` attribute to a false value.
1569
1570
+::
1571
+
1572
subprocess._USE_VFORK = False # See CPython issue gh-NNNNNN.
1573
1574
Setting this has no impact on use of ``posix_spawn()`` which could use
1575
``vfork()`` internally within its libc implementation. There is a similar
1576
:attr:`subprocess._USE_POSIX_SPAWN` attribute if you need to prevent use of
1577
that.
1578
1579
1580
1581
subprocess._USE_POSIX_SPAWN = False # See CPython issue gh-NNNNNN.
1582
1583
It is safe to set these to false on any Python version. They will have no
0 commit comments