We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3254528 commit e235e7fCopy full SHA for e235e7f
spyder/utils/environ.py
@@ -119,7 +119,7 @@ async def get_user_environment_variables() -> dict:
119
proc = await async_run_shell_command(user_env_script, env={}, text=True)
120
121
# Use timeout to fix spyder-ide/spyder#21172
122
- stdout, stderr = proc.communicate(timeout=10)
+ stdout, stderr = await asyncio.wait_for(proc.communicate(), timeout=10)
123
124
if stderr:
125
logger.info(stderr.strip())
0 commit comments