Skip to content

Commit da54f08

Browse files
authored
Move python to the back of the list of interpreters (#249)
1 parent 62ab44d commit da54f08

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ Support
163163

164164
Release Notes
165165
-------------
166+
### Unreleased
167+
- Changes
168+
- General (Editor, macOS): Fix an issue when finding "python" executable.
169+
166170
### 8.9.0
167171
- Changes
168172
- General (Editor, macOS): Support non-default "python" executable names,

editor/app/src/PythonExecutor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ public string ScriptPath {
114114
}
115115
}
116116

117+
// Just 'python' might prompt the user for input, so try that last
117118
private static readonly string[] PYTHON_INTERPRETERS = {
118-
"python", "python3", "python3.8","python3.7", "python2.7", "python2"
119+
"python3", "python3.8","python3.7", "python2.7", "python2", "python"
119120
};
120121

121122
private static string s_pythonInterpreter = null;

0 commit comments

Comments
 (0)