Page 1 of 1
One instance of the program on Linux (?)
Posted: Sat Jan 11, 2025 11:06 am
by AZJIO
How to make sure that when the program is started again, it passes the startup parameters to the first program. For example, if we click on a file, it opens in the editor, if we click on the second file, it also opens in the editor, replacing the current file or in a new tab. The only problem is to transfer the file, or rather the startup parameters.
Re: One instance of the program on Linux (?)
Posted: Sat Jan 11, 2025 2:50 pm
by mk-soft
Via pipe or temporary file
Re: One instance of the program on Linux (?)
Posted: Sun Jan 12, 2025 6:51 pm
by NicTheQuick
Under Linux you can either use sockets or the D-Bus for the communication between applications.
Re: One instance of the program on Linux (?)
Posted: Sun Jan 12, 2025 8:51 pm
by AZJIO
I need to see how it's done in the IDE sources. Maybe I'll understand something.