##// END OF EJS Templates
Add message to make it easier to connect a new client to a running kernel
Fernando Perez -
Show More
@@ -106,6 +106,12 b' def make_kernel(namespace, kernel_factory,'
106 hb_port = hb.port
106 hb_port = hb.port
107 io.raw_print("Heartbeat REP Channel on port", hb_port)
107 io.raw_print("Heartbeat REP Channel on port", hb_port)
108
108
109 # Helper to make it easier to connect to an existing kernel, until we have
110 # single-port connection negotiation fully implemented.
111 io.raw_print("To connect another client to this kernel, use:")
112 io.raw_print("-e --xreq {0} --sub {1} --rep {2} --hb {3}".format(
113 xrep_port, pub_port, req_port, hb_port))
114
109 # Redirect input streams and set a display hook.
115 # Redirect input streams and set a display hook.
110 if out_stream_factory:
116 if out_stream_factory:
111 sys.stdout = out_stream_factory(session, pub_socket, u'stdout')
117 sys.stdout = out_stream_factory(session, pub_socket, u'stdout')
General Comments 0
You need to be logged in to leave comments. Login now