Execute commands on a RCP instance by using command lines [message #1725200] |
Tue, 01 March 2016 15:22 |
Carlos Gomez Messages: 63 Registered: October 2010 |
Member |
|
|
Hi,
I would like to know if it's possible to execute commands on a running RCP instance by using the same RCP executable.
My scenario is the following:
1. I run a instance of my RCP.
2. I use the same executable with some arguments to be executed in the running RCP.
3. The running RCP process the arguments given and continue running.
Thanks for your help.
Carlos
[Updated on: Tue, 01 March 2016 15:34] Report message to a moderator
|
|
|
|
Re: Execute commands on a RCP instance by using command lines [message #1725272 is a reply to message #1725214] |
Wed, 02 March 2016 08:48 |
Carlos Gomez Messages: 63 Registered: October 2010 |
Member |
|
|
Thanks Jonah for your answer.
How you say, OpenFileFeature is a too limited feature to resolve our problem. I was thinking in your solution, but I don't want to open sockets for managing the application instances.
In my case, I need a frontend to improve the performance when my application is called. Using directly my RCP is long (loading plugins) if it is executed many times using different options.
So, this frontend starts/stops my RCP when it is necessary, and sends commands to the running instance. In this way, my performance is improved.
In a client/server solution, the first thought is to use sockets, but I'm not in a network environment, and I could have some limits to use ports for my solution if I'm working in one machine. I think it's better to work at process level. If a process of my RCP is running, my "client" looks for this process and sends the corresponding commands.
Has someone worked in this solution?
Thanks for your help
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03780 seconds