Spawnteract
Spawn yourself a Jupyter kernel backend.
npm install --save spawnteract
Usage
const spawnteract = spawnteract
spawnteract
will automatically delete the connection file after the kernel
process exits or errors out.
To disable this feature, set cleanupConnectionFile
to false
in the spawnOptions
:
;
You'll should close kernel.spawn
when a user shuts down the kernel. If you disabled automatic cleanup, you will need to delete kernel.connectionFile
from disk when finished:
{ kernelspawn; // Only do this second part if you opted out of automatic cleanup: fs;}
For more info, see our changelog or open an issue with questions
You will probably end up wanting to use this with enchannel-zmq-backend.