MCPcopy Create free account
hub / github.com/nodejs/node / _abort

Method _abort

deps/v8/tools/testrunner/local/command.py:180–188  ·  view source on GitHub ↗
(self, process, abort_called)

Source from the content-addressed store, hash-verified

178 raise NotImplementedError()
179
180 def _abort(self, process, abort_called):
181 abort_called[0] = True
182 started_as = self.to_string()
183 process_text = 'process %d started as:\n %s\n' % (process.pid, started_as)
184 try:
185 logging.warning('Attempting to kill %s', process_text)
186 self._kill_process(process)
187 except OSError:
188 logging.exception('Unruly %s', process_text)
189
190 def __str__(self):
191 return self.to_string()

Callers

nothing calls this directly

Calls 3

to_stringMethod · 0.95
_kill_processMethod · 0.95
exceptionMethod · 0.80

Tested by

no test coverage detected