MCPcopy Index your code
hub / github.com/ipython/ipython / killbgscripts

Method killbgscripts

IPython/core/magics/script.py:367–370  ·  view source on GitHub ↗

Kill all BG processes started by %%script and its family.

(self, _nouse_='')

Source from the content-addressed store, hash-verified

365
366 @line_magic("killbgscripts")
367 def killbgscripts(self, _nouse_=''):
368 """Kill all BG processes started by %%script and its family."""
369 self.kill_bg_processes()
370 print("All background processes were killed.")
371
372 def kill_bg_processes(self):
373 """Kill all BG processes which are still running."""

Callers

nothing calls this directly

Calls 1

kill_bg_processesMethod · 0.95

Tested by

no test coverage detected