Skip to content

Commit 23ce28e

Browse files
authored
Fix telemetry daemon spawning on Windows (#146)
1 parent da3ab06 commit 23ce28e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88

99
## Unreleased
1010

11+
***Fixed:***
12+
13+
- Fix telemetry daemon spawning on Windows when installed inside a virtual environment
14+
1115
## 0.20.0 - 2025-07-05
1216

1317
***Added:***

src/dda/utils/process.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,7 @@ def spawn_daemon(self, command: list[str] | str, **kwargs: Any) -> int:
312312
"""
313313
import subprocess
314314

315-
kwargs["creationflags"] = (
316-
subprocess.CREATE_NEW_PROCESS_GROUP | subprocess.DETACHED_PROCESS | subprocess.CREATE_NO_WINDOW
317-
)
315+
kwargs["creationflags"] = subprocess.CREATE_NEW_PROCESS_GROUP | subprocess.CREATE_NO_WINDOW
318316
kwargs["stdin"] = subprocess.DEVNULL
319317
kwargs["stdout"] = subprocess.DEVNULL
320318
kwargs["stderr"] = subprocess.DEVNULL

0 commit comments

Comments
 (0)