1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-13 14:18:14 +00:00

Merge branch 'ping_use_posix_spawn' into integration

This commit is contained in:
J. Nick Koston 2023-11-15 09:29:17 -06:00
commit c3f70867f6
No known key found for this signature in database

View File

@ -1067,6 +1067,7 @@ async def _async_ping_host(host: str) -> bool:
stdin=asyncio.subprocess.DEVNULL,
stdout=asyncio.subprocess.DEVNULL,
stderr=asyncio.subprocess.DEVNULL,
close_fds=False, # Required for posix_spawn
)
await process.wait()
return process.returncode == 0