Skip to content

Commit 644349d

Browse files
lachaleklydiachalek
andauthored
feat: add monkey_patch_os for posix_spawnp (#1885)
* add monkey patch for posix_spawnp * remove check for IS_PY38_OR_GREATER --------- Co-authored-by: lydiachalek <lydiaboyd30@gmail.com>
1 parent 2d220f8 commit 644349d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,9 @@ def patch_new_process_functions():
10221022
monkey_patch_os("spawnvpe", create_spawnve)
10231023
monkey_patch_os("posix_spawn", create_posix_spawn)
10241024

1025+
if not IS_WINDOWS:
1026+
monkey_patch_os("posix_spawnp", create_posix_spawn)
1027+
10251028
if not IS_JYTHON:
10261029
if not IS_WINDOWS:
10271030
monkey_patch_os("fork", create_fork)

0 commit comments

Comments
 (0)