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 de7c812 commit 3dcc35fCopy full SHA for 3dcc35f
ocr_service/app/app.py
@@ -19,7 +19,7 @@
19
20
def start_office_server(port_num):
21
loffice_process = { "process" : subprocess.Popen(args=[LIBRE_OFFICE_PYTHON_PATH, "-m", "unoserver.server", "--interface", LIBRE_OFFICE_NETWORK_INTERFACE, "--executable", LIBRE_OFFICE_EXEC_PATH, "--port", str(port_num)],
22
- cwd=TMP_FILE_DIR, close_fds=True, shell=False), "pid" : "" , "port" : str(port_num)}
+ cwd=TMP_FILE_DIR, close_fds=True, shell=False), "pid" : "" , "port" : str(port_num), "used": False}
23
loffice_process["pid"] = loffice_process["process"].pid
24
25
return loffice_process
0 commit comments