Tell me more ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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

share|improve this question

1 Answer

up vote 4 down vote accepted

From notebook A execute this:

nb = CreateDocument[{ExpressionCell[Defer[Quit[]], "Input", 
    Evaluator -> "B"]}]; SelectionMove[nb, All, Notebook]
SelectionEvaluate[nb]
NotebookClose[nb]
share|improve this answer
Thanks, this works. – Tom Wellington Oct 23 '12 at 19:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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