mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
Merge branch 'ping_use_posix_spawn' into integration
This commit is contained in:
commit
c3f70867f6
@ -1067,6 +1067,7 @@ async def _async_ping_host(host: str) -> bool:
|
|||||||
stdin=asyncio.subprocess.DEVNULL,
|
stdin=asyncio.subprocess.DEVNULL,
|
||||||
stdout=asyncio.subprocess.DEVNULL,
|
stdout=asyncio.subprocess.DEVNULL,
|
||||||
stderr=asyncio.subprocess.DEVNULL,
|
stderr=asyncio.subprocess.DEVNULL,
|
||||||
|
close_fds=False, # Required for posix_spawn
|
||||||
)
|
)
|
||||||
await process.wait()
|
await process.wait()
|
||||||
return process.returncode == 0
|
return process.returncode == 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user