{ } Raw JSON

bundles / jupyter_client 8.10.0 / jupyter_client / provisioning / provisioner_base / KernelProvisionerBase / kill

function

jupyter_client.provisioning.provisioner_base:KernelProvisionerBase.kill

source: /jupyter_client/provisioning/provisioner_base.py:77

Signature

async def kill(self, restart: bool = False) → None

Summary

Kill the kernel process.

Extended Summary

This is typically accomplished via a SIGKILL signal, which cannot be caught. This method is called from KernelManager.kill_kernel() when terminating a kernel immediately.

restart is True if this operation will precede a subsequent launch_kernel request.

Aliases

  • jupyter_client.KernelProvisionerBase.kill