MCPcopy Create free account
hub / github.com/comaps/comaps / _run_system

Method _run_system

tools/python/routing/src/utils.py:127–130  ·  view source on GitHub ↗
(self, *, cmd, env=None, output_file=None, log_cmd=False)

Source from the content-addressed store, hash-verified

125 return {os.system(full_cmd), full_cmd}
126
127 def _run_system(self, *, cmd, env=None, output_file=None, log_cmd=False):
128 result, full_cmd = self._run_system_unsafe(cmd=cmd, env=env, output_file=output_file, log_cmd=log_cmd)
129 if result:
130 raise Exception(f'Error during executing {full_cmd}')
131
132 def _get_cached_binary_name(self, *, binary, binary_cache_suffix=None):
133 binary_path = os.path.join(self.build_dir, f'{binary}_{self.branch}')

Callers 1

buildMethod · 0.95

Calls 1

_run_system_unsafeMethod · 0.95

Tested by

no test coverage detected