We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bdc99f commit 9d690e8Copy full SHA for 9d690e8
1 file changed
command_runner/__init__.py
@@ -1032,7 +1032,7 @@ def _monitor_process(
1032
# pylint: disable=E1101
1033
if os_name == "nt" and sys.version_info >= (3, 7):
1034
creationflags |= process_prio
1035
-
+
1036
# Actually we don't want preexec_fn since it's not thread safe, neither supported
1037
# in subinterpreters. We'll use set_priority() once the process is spawned
1038
# else:
@@ -1070,7 +1070,9 @@ def _monitor_process(
1070
)
1071
1072
# Set process priority if not set earlier by creationflags
1073
- if priority and (os_name != "nt" or (sys.version_info < (3, 7) and os_name == "nt")):
+ if priority and (
1074
+ os_name != "nt" or (sys.version_info < (3, 7) and os_name == "nt")
1075
+ ):
1076
try:
1077
1078
set_priority(process.pid, priority)
0 commit comments