diff --git a/src/plotman/manager.py b/src/plotman/manager.py index 3fd5a729..4519dfb5 100644 --- a/src/plotman/manager.py +++ b/src/plotman/manager.py @@ -277,7 +277,9 @@ def key(key: str) -> job.Phase: # allowing handling of just the log file opening error. if sys.platform == "win32": - creationflags = subprocess.CREATE_NO_WINDOW + creationflags = ( + subprocess.CREATE_NEW_PROCESS_GROUP | subprocess.CREATE_NO_WINDOW + ) nice = psutil.BELOW_NORMAL_PRIORITY_CLASS else: creationflags = 0