MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / __init__

Method __init__

scripts/modules/Shell.py:32–37  ·  view source on GitHub ↗
(self, is_interactive=False)

Source from the content-addressed store, hash-verified

30
31class Shell:
32 def __init__(self, is_interactive=False):
33 self.line=""
34 self.env=os.environ.copy()
35 self.initial_path = self.env["PATH"]
36 self.save_cwd()
37 self.is_interactive = is_interactive
38
39 def reset_path(self):
40 self.env["PATH"]=self.initial_path

Callers

nothing calls this directly

Calls 1

save_cwdMethod · 0.95

Tested by

no test coverage detected