From: Kasemir, K. <kas...@or...> - 2014-10-10 15:35:27
|
.. but it doesn't work reliably on Linux for us. With the --launcher.openFile option, the launcher tries to locate an already running instance. If found, it asks that instance to open the file. Otherwise it starts a new instance of CSS. How the already running instance is located depends on the operating system, but basically it looks for a window with matching name, and then sends a message to that window, for example an X11 message on Linux. That's also why the product name must be set correctly, see http://cs-studio.sourceforge.net/docbook/ch29.html On our Linux setups, it works for a little while. But once CSS has been running for longer, the launcher will no longer find the already running instance. -Kay On Oct 10, 2014, at 11:20 AM, <wil...@di...> wrote: > OK, so: > > cs-studio --launcher.openFile "<path to file> macro1=value1,macro2=value2" > > Thanks! |