One instance of the program on Linux (?)

Just starting out? Need help? Post your questions and find answers here.
AZJIO
Addict
Addict
Posts: 2223
Joined: Sun May 14, 2017 1:48 am

One instance of the program on Linux (?)

Post 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.
User avatar
mk-soft
Always Here
Always Here
Posts: 6318
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: One instance of the program on Linux (?)

Post by mk-soft »

Via pipe or temporary file
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
NicTheQuick
Addict
Addict
Posts: 1527
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: One instance of the program on Linux (?)

Post by NicTheQuick »

Under Linux you can either use sockets or the D-Bus for the communication between applications.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
AZJIO
Addict
Addict
Posts: 2223
Joined: Sun May 14, 2017 1:48 am

Re: One instance of the program on Linux (?)

Post by AZJIO »

I need to see how it's done in the IDE sources. Maybe I'll understand something.
Post Reply