MCPcopy Create free account
hub / github.com/KmBase/ScienceReading / which

Function which

embedded/site-packages/psutil/_compat.py:381–430  ·  view source on GitHub ↗

Given a command, mode, and a PATH string, return the path which conforms to the given mode on the PATH, or None if there is no such file. `mode` defaults to os.F_OK | os.X_OK. `path` defaults to the result of os.environ.get("PATH"), or can be overridden with a custom

(cmd, mode=os.F_OK | os.X_OK, path=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

_get_py_exeFunction · 0.90
create_c_exeFunction · 0.90
print_sysinfoFunction · 0.90
powershellFunction · 0.90
exeMethod · 0.85
test_bsd.pyFile · 0.85

Calls 6

_access_checkFunction · 0.85
getMethod · 0.45
splitMethod · 0.45
insertMethod · 0.45
addMethod · 0.45
joinMethod · 0.45

Tested by 1

powershellFunction · 0.72