Skip to content

Commit

Permalink
process: Fix asyncio subprocess flag
Browse files Browse the repository at this point in the history
  • Loading branch information
irgolic committed Dec 23, 2024
1 parent 8037d10 commit 2445aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dweam/utils/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_subprocess_flags() -> int:
def get_asyncio_subprocess_flags() -> int:
"""Get the appropriate asyncio subprocess creation flags based on build type"""
if sys.platform == "win32" and not is_debug_build():
return asyncio.subprocess.CREATE_NO_WINDOW
return subprocess.CREATE_NO_WINDOW
return 0

def patch_subprocess_popen():
Expand Down

0 comments on commit 2445aec

Please sign in to comment.