##// END OF EJS Templates
getoutput wants a string, not a command list
MinRK -
Show More
@@ -19,6 +19,7 b' from __future__ import absolute_import'
19 #-----------------------------------------------------------------------------
19 #-----------------------------------------------------------------------------
20
20
21 import os
21 import os
22 import pipes
22 import re
23 import re
23 import sys
24 import sys
24 import tempfile
25 import tempfile
@@ -187,7 +188,7 b' def ipexec(fname, options=None):'
187 _ip = get_ipython()
188 _ip = get_ipython()
188 test_dir = os.path.dirname(__file__)
189 test_dir = os.path.dirname(__file__)
189
190
190 ipython_cmd = [sys.executable, '-m', 'IPython']
191 ipython_cmd = pipes.quote(sys.executable) + " -m IPython"
191 # Absolute path for filename
192 # Absolute path for filename
192 full_fname = os.path.join(test_dir, fname)
193 full_fname = os.path.join(test_dir, fname)
193 full_cmd = '%s %s %s' % (ipython_cmd, cmdargs, full_fname)
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