diff --git a/IPython/zmq/ipkernel.py b/IPython/zmq/ipkernel.py index 85660b6..9626a5c 100755 --- a/IPython/zmq/ipkernel.py +++ b/IPython/zmq/ipkernel.py @@ -663,7 +663,9 @@ def embed_kernel(module=None, local_ns=None): def main(): """Run an IPKernel as an application""" - embed_kernel() + app = IPKernelApp.instance() + app.initialize() + app.start() if __name__ == '__main__':