You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restore anyio.open_process as primary Windows process creation method
This restores the pre-#596 behavior where anyio.open_process is tried
first, falling back to subprocess.Popen only when necessary (e.g., when
using SelectorEventLoop on Windows).
The approach:
1. Try anyio.open_process with CREATE_NO_WINDOW flag
2. If NotImplementedError, fall back to subprocess.Popen wrapper
3. If other exception, retry anyio.open_process without flags
Also refactored to extract the fallback logic into a separate
_create_windows_fallback_process function for better code organization.
0 commit comments