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


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 '13 at 17:51

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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