How to launch an executable in a Plugin [message #184759] |
Sun, 17 December 2006 11:04 |
Eclipse User |
|
|
|
Originally posted by: jonathan.orditz.selectron.ch
Hello,
I am writing a plugin for a tool I have written in C in the CDT
(myTool.exe).
The plugin has to work as following:
- Select a project and a configuration file in this project.
- Launch the executable on the selected project with a button in the menu
bar.
- See the output data of my executable in a View.
I encounter problems to launch my executable:
When I use "Process proc = Runtime.getRuntime.exec(Command for
myTool.exe)" the process is blocking the whole Eclipse framework.
Do someone have an example plugin demonstrating how it is possible to
launch an executable with a click on a button in the menu bar ?
Many thanks in advance,
Jonathan
|
|
|
|
Powered by
FUDForum. Page generated in 0.08590 seconds