posix_spawn

This commit is contained in:
J. Nick Koston 2023-11-15 10:45:22 -06:00
parent a30c248c93
commit 8e58caae16
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -329,6 +329,7 @@ class EsphomeCommandWebSocket(tornado.websocket.WebSocketHandler):
stdout=tornado.process.Subprocess.STREAM,
stderr=subprocess.STDOUT,
stdin=tornado.process.Subprocess.STREAM,
close_fds=False, # required for posix_spawn
)
self._proc.set_exit_callback(self._proc_on_exit)