| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| Expand Up | @@ -111,6 +111,14 @@ underlying :class:`Popen` interface can be used directly. | |||||
| Added the *text* parameter, as a more understandable alias of *universal_newlines*. | ||||||
| Added the *capture_output* parameter. | ||||||
|
|
||||||
| .. versionchanged:: 3.11.2 | ||||||
|
Comment thread
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
Sorry, something went wrong.
All reactions
|
||||||
|
|
||||||
| Changed Windows shell search order for ``shell=True``. The current | ||||||
| directory and ``%PATH%`` are replaced with ``%COMSPEC%`` and | ||||||
| ``%SystemRoot%\System32\cmd.exe``. As a result, dropping a | ||||||
| malicious program named ``cmd.exe`` into a current directory no | ||||||
| longer works. | ||||||
|
|
||||||
| .. class:: CompletedProcess | ||||||
|
|
||||||
| The return value from :func:`run`, representing a process that has finished. | ||||||
| Expand Down Expand Up | @@ -488,6 +496,14 @@ functions. | |||||
| *executable* parameter accepts a bytes and :term:`path-like object` | ||||||
| on Windows. | ||||||
|
|
||||||
| .. versionchanged:: 3.11.2 | ||||||
|
Comment thread
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
Sorry, something went wrong.
All reactions
|
||||||
|
|
||||||
| Changed Windows shell search order for ``shell=True``. The current | ||||||
| directory and ``%PATH%`` are replaced with ``%COMSPEC%`` and | ||||||
| ``%SystemRoot%\System32\cmd.exe``. As a result, dropping a | ||||||
| malicious program named ``cmd.exe`` into a current directory no | ||||||
| longer works. | ||||||
|
|
||||||
| *stdin*, *stdout* and *stderr* specify the executed program's standard input, | ||||||
| standard output and standard error file handles, respectively. Valid values | ||||||
| are :data:`PIPE`, :data:`DEVNULL`, an existing file descriptor (a positive | ||||||
| Expand Down Expand Up | @@ -1160,6 +1176,14 @@ calls these functions. | |||||
| .. versionchanged:: 3.3 | ||||||
| *timeout* was added. | ||||||
|
|
||||||
| .. versionchanged:: 3.11.2 | ||||||
|
Comment thread
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
Sorry, something went wrong.
All reactions
|
||||||
|
|
||||||
| Changed Windows shell search order for ``shell=True``. The current | ||||||
| directory and ``%PATH%`` are replaced with ``%COMSPEC%`` and | ||||||
| ``%SystemRoot%\System32\cmd.exe``. As a result, dropping a | ||||||
| malicious program named ``cmd.exe`` into a current directory no | ||||||
| longer works. | ||||||
|
|
||||||
| .. function:: check_call(args, *, stdin=None, stdout=None, stderr=None, \ | ||||||
| shell=False, cwd=None, timeout=None, \ | ||||||
| **other_popen_kwargs) | ||||||
| Expand Down Expand Up | @@ -1192,6 +1216,14 @@ calls these functions. | |||||
| .. versionchanged:: 3.3 | ||||||
| *timeout* was added. | ||||||
|
|
||||||
| .. versionchanged:: 3.11.2 | ||||||
|
Comment thread
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
Sorry, something went wrong.
All reactions
|
||||||
|
|
||||||
| Changed Windows shell search order for ``shell=True``. The current | ||||||
| directory and ``%PATH%`` are replaced with ``%COMSPEC%`` and | ||||||
| ``%SystemRoot%\System32\cmd.exe``. As a result, dropping a | ||||||
| malicious program named ``cmd.exe`` into a current directory no | ||||||
| longer works. | ||||||
|
|
||||||
|
|
||||||
| .. function:: check_output(args, *, stdin=None, stderr=None, shell=False, \ | ||||||
| cwd=None, encoding=None, errors=None, \ | ||||||
| Expand Down Expand Up | @@ -1247,6 +1279,14 @@ calls these functions. | |||||
| .. versionadded:: 3.7 | ||||||
| *text* was added as a more readable alias for *universal_newlines*. | ||||||
|
|
||||||
| .. versionchanged:: 3.11.2 | ||||||
|
Comment thread
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
Sorry, something went wrong.
All reactions
|
||||||
|
|
||||||
| Changed Windows shell search order for ``shell=True``. The current | ||||||
| directory and ``%PATH%`` are replaced with ``%COMSPEC%`` and | ||||||
| ``%SystemRoot%\System32\cmd.exe``. As a result, dropping a | ||||||
| malicious program named ``cmd.exe`` into a current directory no | ||||||
| longer works. | ||||||
|
|
||||||
|
|
||||||
| .. _subprocess-replacements: | ||||||
|
|
||||||
| Expand Down | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| :class:`subprocess.Popen` now uses a safer approach to find | ||
| ``cmd.exe`` when launching with ``shell=True``. Patch by Eryk Sun, | ||
| based on a patch by Oleg Iarygin. |
| Back | FazBrowse Home | New Git URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Qualitythis version number is wrong everywhere. 3.11.2 was just released.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.