MCPcopy
hub / github.com/marimo-team/marimo / _interrupt

Function _interrupt

tests/_cli/test_cli.py:81–85  ·  view source on GitHub ↗
(process: subprocess.Popen[Any])

Source from the content-addressed store, hash-verified

79
80
81def _interrupt(process: subprocess.Popen[Any]) -> None:
82 if _is_win32():
83 os.kill(process.pid, signal.CTRL_C_EVENT)
84 else:
85 os.kill(process.pid, signal.SIGINT)
86
87
88def _confirm_shutdown(process: subprocess.Popen[Any]) -> None:

Callers 4

test_cli_edit_shutdownFunction · 0.85
test_cli_run_shutdownFunction · 0.85

Calls 2

_is_win32Function · 0.70
killMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…