I have a kernel named A in one notebook and other notebook with kernel B, how can I kill B from A?


1 Answer 1


From notebook A execute this:

nb = CreateDocument[{ExpressionCell[Defer[Quit[]], "Input", 
    Evaluator -> "B"]}]; SelectionMove[nb, All, Notebook]
  • $\begingroup$ @M.R. , is it possible to use a similar trick when running codes in 2 distinct kernels A and B, using 2 distinct Linux terminals? $\endgroup$
    – fcpenha
    Jul 1, 2013 at 17:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.