##// END OF EJS Templates
embed_kernel: pass [] to IPKernelApp.initialize to prevent argv parsing...
Scott Tsai -
Show More
@@ -660,7 +660,7 b' def embed_kernel(module=None, local_ns=None):'
660 if local_ns is None:
660 if local_ns is None:
661 local_ns = caller_locals
661 local_ns = caller_locals
662 app = IPKernelApp.instance(user_module=module, user_ns=local_ns)
662 app = IPKernelApp.instance(user_module=module, user_ns=local_ns)
663 app.initialize()
663 app.initialize([])
664 app.start()
664 app.start()
665
665
666 def main():
666 def main():
General Comments 0
You need to be logged in to leave comments. Login now