MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / new_spawnl

Function new_spawnl

_pydev_bundle/pydev_monkey.py:768–777  ·  view source on GitHub ↗

os.spawnl(mode, path, arg0, arg1, ...) os.spawnlp(mode, file, arg0, arg1, ...)

(mode, path, *args)

Source from the content-addressed store, hash-verified

766
767def create_spawnl(original_name):
768 def new_spawnl(mode, path, *args):
769 """
770 os.spawnl(mode, path, arg0, arg1, ...)
771 os.spawnlp(mode, file, arg0, arg1, ...)
772 """
773 if _get_apply_arg_patching():
774 args = patch_args(args)
775 send_process_created_message()
776
777 return getattr(os, original_name)(mode, path, *args)
778
779 return new_spawnl
780

Callers

nothing calls this directly

Calls 3

_get_apply_arg_patchingFunction · 0.85
patch_argsFunction · 0.85

Tested by

no test coverage detected