Show More
@@ -19,6 +19,7 b' from __future__ import absolute_import' | |||
|
19 | 19 | #----------------------------------------------------------------------------- |
|
20 | 20 | |
|
21 | 21 | import os |
|
22 | import pipes | |
|
22 | 23 | import re |
|
23 | 24 | import sys |
|
24 | 25 | import tempfile |
@@ -157,7 +158,7 b' def default_config():' | |||
|
157 | 158 | def ipexec(fname, options=None): |
|
158 | 159 | """Utility to call 'ipython filename'. |
|
159 | 160 | |
|
160 | Starts IPython witha minimal and safe configuration to make startup as fast | |
|
161 | Starts IPython with a minimal and safe configuration to make startup as fast | |
|
161 | 162 | as possible. |
|
162 | 163 | |
|
163 | 164 | Note that this starts IPython in a subprocess! |
@@ -186,8 +187,8 b' def ipexec(fname, options=None):' | |||
|
186 | 187 | |
|
187 | 188 | _ip = get_ipython() |
|
188 | 189 | test_dir = os.path.dirname(__file__) |
|
189 | ||
|
190 |
ipython_cmd = |
|
|
190 | ||
|
191 | ipython_cmd = pipes.quote(sys.executable) + " -m IPython" | |
|
191 | 192 | # Absolute path for filename |
|
192 | 193 | full_fname = os.path.join(test_dir, fname) |
|
193 | 194 | full_cmd = '%s %s %s' % (ipython_cmd, cmdargs, full_fname) |
General Comments 0
You need to be logged in to leave comments.
Login now