MCPcopy Create free account
hub / github.com/boostorg/build / programs_path

Function programs_path

v2/util/path.py:410–423  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

408# Returns the list of paths which are used by the operating system
409# for looking up programs
410def programs_path ():
411 raw = []
412 names = ['PATH', 'Path', 'path']
413
414 for name in names:
415 raw.append(os.environ.get (name, ''))
416
417 result = []
418 for elem in raw:
419 if elem:
420 for p in elem.split(os.path.pathsep):
421 result.append(make(p))
422
423 return result
424
425# rule make-NT ( native )
426# {

Callers

nothing calls this directly

Calls 3

appendMethod · 0.80
getMethod · 0.80
makeFunction · 0.70

Tested by

no test coverage detected