Silvio
Silvio

Reputation: 123

RCP communication

I wrote two independent RCP application, let's call them A and B. Is it possible to call and run B from A without setting any dipendences?

Upvotes: 3

Views: 204

Answers (2)

Kumar
Kumar

Reputation: 192

I have not tried this..But i assume it would be a normal Java process invoking. If B is an exe.

    Runtime runTime = Runtime.getRuntime();
    Process process = runTime.exec("B");

Upvotes: 2

codejammer
codejammer

Reputation: 1676

If you have the executable for B, you can use Runtime.getRuntime().exec() to execute B from A.

Upvotes: 0

Related Questions