MCPcopy Create free account
hub / github.com/Samsung/UTopia / __execute

Method __execute

helper/build.py:203–213  ·  view source on GitHub ↗
(self, cmd: List[str], debug: bool = True)

Source from the content-addressed store, hash-verified

201 )
202
203 def __execute(self, cmd: List[str], debug: bool = True) -> bool:
204 if debug:
205 logging.debug(f"cmd: {cmd}")
206 p = subprocess.Popen(cmd)
207 p.communicate()
208 else:
209 with open(os.devnull, "wb") as f:
210 p = subprocess.Popen(cmd, stdout=f, stderr=f)
211 p.communicate()
212
213 return p.returncode == 0
214
215
216def set_default_values(src: dict) -> dict:

Callers 3

generate_ut_reportMethod · 0.95
generate_fuzz_driverMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected