You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-13Lines changed: 8 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,19 +28,14 @@
28
28
29
29
### New Features
30
30
31
-
- A new extractor option has been added to the Python extractor.
32
-
Pass one of `--extractor-option python_executable_name=py`
33
-
or `--extractor-option python_executable_name=python`
34
-
or `--extractor-option python_executable_name=python3`
35
-
to `codeql database create` (or `codeql database trace-command` or,
36
-
for indirect tracing, `codeql database init`) to override the default
37
-
Python executable search and selection behavior of the Python
38
-
extractor. For example, on Windows machines, the Python extractor
39
-
will expect to find `py.exe` on the system `PATH` by default.
40
-
Setting this extractor option or environment variable allows
41
-
overriding this behavior to look for a different name.
42
-
43
-
More detail can be found in [the extractor option documentation](https://docs.github.com/en/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/extractor-options).
31
+
- A new extractor option has been added to the Python extractor: `python_executable_name`.
32
+
You can use this option to override the default process the extractor uses to find and select a Python executable.
33
+
Pass one of `--extractor-option python_executable_name=py` or `--extractor-option python_executable_name=python` or `--extractor-option python_executable_name=python3` to commands that run the extractor, for example: `codeql database create`.
34
+
35
+
On Windows machines, the Python extractor will expect to find `py.exe` on the system `PATH` by default.
36
+
If the Python executable has a different name, you can set the new extractor option to override this value and look for `python.exe` or `python3.exe`.
37
+
38
+
For more information about using the extractor option with the CodeQL CLI, see [Extractor options](https://docs.github.com/en/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/extractor-options).
0 commit comments