Show More
@@ -24,6 +24,7 b' import logging' | |||
|
24 | 24 | import os |
|
25 | 25 | import re |
|
26 | 26 | import stat |
|
27 | import sys | |
|
27 | 28 | import time |
|
28 | 29 | |
|
29 | 30 | # signal imports, handling various platforms, versions |
@@ -60,8 +61,8 b' from IPython.utils.text import EvalFormatter' | |||
|
60 | 61 | from IPython.utils.traitlets import ( |
|
61 | 62 | Any, Integer, CFloat, List, Unicode, Dict, Instance, HasTraits, |
|
62 | 63 | ) |
|
63 |
from IPython.utils.path import |
|
|
64 |
from IPython.utils.process import find_cmd, |
|
|
64 | from IPython.utils.path import get_home_dir | |
|
65 | from IPython.utils.process import find_cmd, FindCmdError | |
|
65 | 66 | |
|
66 | 67 | from .win32support import forward_read_events |
|
67 | 68 | |
@@ -73,18 +74,13 b" WINDOWS = os.name == 'nt'" | |||
|
73 | 74 | # Paths to the kernel apps |
|
74 | 75 | #----------------------------------------------------------------------------- |
|
75 | 76 | |
|
77 | cmd = "from IPython.parallel.apps.%s import launch_new_instance; launch_new_instance()" | |
|
76 | 78 | |
|
77 | ipcluster_cmd_argv = pycmd2argv(get_ipython_module_path( | |
|
78 | 'IPython.parallel.apps.ipclusterapp' | |
|
79 | )) | |
|
79 | ipcluster_cmd_argv = [sys.executable, "-c", cmd % "ipclusterapp"] | |
|
80 | 80 | |
|
81 | ipengine_cmd_argv = pycmd2argv(get_ipython_module_path( | |
|
82 | 'IPython.parallel.apps.ipengineapp' | |
|
83 | )) | |
|
81 | ipengine_cmd_argv = [sys.executable, "-c", cmd % "ipengineapp"] | |
|
84 | 82 | |
|
85 | ipcontroller_cmd_argv = pycmd2argv(get_ipython_module_path( | |
|
86 | 'IPython.parallel.apps.ipcontrollerapp' | |
|
87 | )) | |
|
83 | ipcontroller_cmd_argv = [sys.executable, "-c", cmd % "ipcontrollerapp"] | |
|
88 | 84 | |
|
89 | 85 | #----------------------------------------------------------------------------- |
|
90 | 86 | # Base launchers and errors |
General Comments 0
You need to be logged in to leave comments.
Login now