File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1567,13 +1567,17 @@ If you ever encounter a presumed highly unusual situation where you need to
1567
1567
prevent ``vfork() `` from being used by Python, you can set the
1568
1568
:attr: `subprocess._USE_VFORK ` attribute to a false value.
1569
1569
1570
+ ::
1571
+
1570
1572
subprocess._USE_VFORK = False # See CPython issue gh-NNNNNN.
1571
1573
1572
1574
Setting this has no impact on use of ``posix_spawn() `` which could use
1573
1575
``vfork() `` internally within its libc implementation. There is a similar
1574
1576
:attr: `subprocess._USE_POSIX_SPAWN ` attribute if you need to prevent use of
1575
1577
that.
1576
1578
1579
+ ::
1580
+
1577
1581
subprocess._USE_POSIX_SPAWN = False # See CPython issue gh-NNNNNN.
1578
1582
1579
1583
It is safe to set these to false on any Python version. They will have no
You can’t perform that action at this time.
0 commit comments