gh-118293: Suppress mouse cursor feedback when launching Windows processes with multiprocessing (GH-118315)

This commit is contained in:
Henrik Tunedal 2024-04-28 23:10:44 +02:00 committed by GitHub
parent f5b7e397c0
commit 133c1a7cdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 71 additions and 1 deletions

View file

@ -1066,6 +1066,22 @@ The :mod:`subprocess` module exposes the following constants.
Specifies that the :attr:`STARTUPINFO.wShowWindow` attribute contains
additional information.
.. data:: STARTF_FORCEONFEEDBACK
A :attr:`STARTUPINFO.dwFlags` parameter to specify that the
*Working in Background* mouse cursor will be displayed while a
process is launching. This is the default behavior for GUI
processes.
.. versionadded:: 3.13
.. data:: STARTF_FORCEOFFFEEDBACK
A :attr:`STARTUPINFO.dwFlags` parameter to specify that the mouse
cursor will not be changed when launching a process.
.. versionadded:: 3.13
.. data:: CREATE_NEW_CONSOLE
The new process has a new console, instead of inheriting its parent's