mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
add monkey patch for posix_spawnp
This commit is contained in:
parent
2d220f8db8
commit
dc86b1fa48
1 changed files with 4 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ from _pydevd_bundle.pydevd_constants import (
|
|||
DebugInfoHolder,
|
||||
PYDEVD_USE_SYS_MONITORING,
|
||||
IS_PY313_OR_GREATER,
|
||||
IS_PY38_OR_GREATER,
|
||||
)
|
||||
from _pydev_bundle import pydev_log
|
||||
from contextlib import contextmanager
|
||||
|
|
@ -1022,6 +1023,9 @@ def patch_new_process_functions():
|
|||
monkey_patch_os("spawnvpe", create_spawnve)
|
||||
monkey_patch_os("posix_spawn", create_posix_spawn)
|
||||
|
||||
if IS_PY38_OR_GREATER and not IS_WINDOWS:
|
||||
monkey_patch_os("posix_spawnp", create_posix_spawn)
|
||||
|
||||
if not IS_JYTHON:
|
||||
if not IS_WINDOWS:
|
||||
monkey_patch_os("fork", create_fork)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue