Skip to content

Commit

Permalink
Merge from 3.x: PR #5181
Browse files Browse the repository at this point in the history
Fixes #5165
  • Loading branch information
ccordoba12 committed Sep 11, 2017
2 parents 30c0ab1 + 6b16bfd commit 71b1688
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spyder/utils/programs.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

# Local imports
from spyder.utils import encoding
from spyder.utils.misc import get_python_executable
from spyder.py3compat import PY2, is_text_string, to_text_string


Expand Down Expand Up @@ -265,7 +266,7 @@ def run_python_script_in_terminal(fname, wdir, args, interact,
fname = '"' + fname + '"'
wdir = wdir.replace('/', '\\')

p_args = ['python']
p_args = [get_python_executable()]
p_args += get_python_args(fname, python_args, interact, debug, args)

if os.name == 'nt':
Expand Down

0 comments on commit 71b1688

Please sign in to comment.