Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » How to implement IPC for TheIDE? (I would like to open file from my system in new tabs instead of new window)
How to implement IPC for TheIDE? [message #46920] |
Wed, 14 September 2016 22:11 |
|
Klugier
Messages: 1082 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello,
Currently I have several associated file with TheIDE. It means if I click on it in my file explorer it opens TheIDE. The problem here is that evry time it opens new window. I would like to avoid such situation by attaching new file to current TheIDE instance. One of the idea is to make IPC between to process.
For example I have one TheIDE on PID 500. Next TheIDE opens with PID 501. The second instance check whenever the other instance exists. If true sends message to first one with open file message. If it is done the the second instance close immediately without opening GUI.
What would be the best way to implement such mechanism? Sockets - I would be glad if somebody give me idea how to do that.
Sincerely and thanks,
Klugier
U++ - one framework to rule them all.
[Updated on: Wed, 14 September 2016 22:13] Report message to a moderator
|
|
|
|
|
Re: How to implement IPC for TheIDE? [message #46927 is a reply to message #46925] |
Sun, 18 September 2016 22:21 |
|
Klugier
Messages: 1082 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello Omari,
Thanks for the tip. Named pipes used in Uniq is probably what I am looking for. But, I would like to see Mireks opinion about this topic before I start implement anything.
Sincerely,
Klugier
U++ - one framework to rule them all.
|
|
|
Goto Forum:
Current Time: Sat Sep 21 06:24:47 CEST 2024
Total time taken to generate the page: 0.02709 seconds
|