Thank you Tor for the clarification. What I want to achieve is to use the Python UNO bridge to access multiple Writer documents at the same time.
If that can be achieved by running a single LO process (soffice.bin) then that works for me: - How does that approach scale when I open many Writers? (See this post re performance and scaling: https://forum.openoffice.org/en/forum/viewtopic.php?f=6&t=74002 ) - Should I keep the LO process alive over long periods of time and then open/close Writer documents as needed? (See this post re the Office Server mode: https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=75523 ) If I need to spawn processes with separate “user installation” directories, are you talking about the -env:UserInstallation command line argument? Thank you! Jens > On Oct 19, 2017, at 16:31, Tor Lillqvist <t...@iki.fi> wrote: > > You are using confusing terminology. "Spawn" is usually used in a software > context to mean starting a new process running another program, what is on > POSIX systems done using the fork() and exec() family of system calls, and on > Windows using CreateProcess(). On the other hand, "Writer" is not a program > by itself but (as you say) just one kind of document window that the real > LibreOffice process (soffice.bin) displays, and a single soffice.bin process > can have any number of Writer, Calc, Impress etc document windows open > simultaneously. > > I.e., are you asking how to spawn multiple soffice.bin processes, or how to > open multiple Writer documents, at the same time? > > For the first case, you need to spawn the processes with separate "user > installation" directories. For the second case, that should be what normally > happens. > > --tml > -- Jens Tröger http://savage.light-speed.de/ _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice