MCPcopy Index your code
hub / github.com/tensorflow/tensorboard / _subprocess_environ

Function _subprocess_environ

tensorboard/manager.py:411–422  ·  view source on GitHub ↗

Create an environment for a managed TensorBoard subprocess. TensorBoard processes launched from Bazel tests should resolve their own runfiles and Python import paths. Inheriting Bazel's test-only Python and runfiles variables can make the child binary execute against the parent's ru

()

Source from the content-addressed store, hash-verified

409
410
411def _subprocess_environ():
412 """Create an environment for a managed TensorBoard subprocess.
413
414 TensorBoard processes launched from Bazel tests should resolve their own
415 runfiles and Python import paths. Inheriting Bazel's test-only Python and
416 runfiles variables can make the child binary execute against the parent's
417 runfiles tree instead of its own.
418 """
419 environ = os.environ.copy()
420 for key in _SUBPROCESS_ENV_DENYLIST:
421 environ.pop(key, None)
422 return environ
423
424
425def start(arguments, timeout=datetime.timedelta(seconds=60)):

Callers 1

startFunction · 0.85

Calls 1

popMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…