MCPcopy Create free account
hub / github.com/10Ring/LAA-Net / _check_executable

Function _check_executable

register/misc.py:235–239  ·  view source on GitHub ↗
(cmd)

Source from the content-addressed store, hash-verified

233
234
235def _check_executable(cmd):
236 if subprocess.call(f'which {cmd}', shell=True) != 0:
237 return False
238 else:
239 return True
240
241
242def requires_package(prerequisites):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected