mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +00:00
Ensure go2rtc server starts using posix_spawn/vfork (#129196)
This commit is contained in:
parent
9b0975b2ac
commit
59227116f3
@ -62,6 +62,7 @@ class Server:
|
||||
config_file,
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
stderr=asyncio.subprocess.STDOUT,
|
||||
close_fds=False, # required for posix_spawn on CPython < 3.13
|
||||
)
|
||||
|
||||
self._hass.async_create_background_task(
|
||||
|
@ -67,6 +67,7 @@ async def test_server_run_success(
|
||||
"test.yaml",
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
close_fds=False,
|
||||
)
|
||||
|
||||
# Verify that the config file was written
|
||||
|
Loading…
x
Reference in New Issue
Block a user