Show More
@@ -97,8 +97,8 b' def write_connection_file(fname=None, shell_port=0, iopub_port=0, stdin_port=0, ' | |||
|
97 | 97 | return fname, cfg |
|
98 | 98 | |
|
99 | 99 | |
|
100 | def make_kernel_cmd(code, executable=None, extra_arguments=[], **kw): | |
|
101 | """ Launches a localhost kernel, binding to the specified ports. | |
|
100 | def make_ipkernel_cmd(code, executable=None, extra_arguments=[], **kw): | |
|
101 | """Build Popen command list for launching an IPython kernel. | |
|
102 | 102 | |
|
103 | 103 | Parameters |
|
104 | 104 | ---------- |
@@ -42,7 +42,7 b' from IPython.utils.traitlets import (' | |||
|
42 | 42 | from IPython.utils.py3compat import str_to_bytes |
|
43 | 43 | from IPython.zmq.entry_point import ( |
|
44 | 44 | write_connection_file, |
|
45 | make_kernel_cmd, | |
|
45 | make_ipkernel_cmd, | |
|
46 | 46 | launch_kernel, |
|
47 | 47 | ) |
|
48 | 48 | from session import Session |
@@ -902,7 +902,7 b' class KernelManager(Configurable):' | |||
|
902 | 902 | if self.kernel_cmd: |
|
903 | 903 | cmd = self.kernel_cmd |
|
904 | 904 | else: |
|
905 | cmd = make_kernel_cmd( | |
|
905 | cmd = make_ipkernel_cmd( | |
|
906 | 906 | 'from IPython.zmq.ipkernel import main; main()', |
|
907 | 907 | **kw |
|
908 | 908 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now