run a process in eclipse plugin console [message #694917] |
Sun, 10 July 2011 08:29 |
Hari Krishnan Messages: 3 Registered: July 2011 |
Junior Member |
|
|
Hi All,
Please Help me If you know this.
Here it goes,
I have a menu created by my plugin. When I press the menu a command is executed something like
make XYZ
and XYZ points to a perl script
perl script contains a command like entering pwd in a variable.
I have code to print the execution of the process to console. when I close the process.getOutputStream() it hangs at the line it tires to read the input ie next line to pwd assignment line. But if i open the stream where I am suppossed to open as the program expects some input from user hangs at the line of pwd when I execute them through process builder and process class in Java. Is there any way to do this?
I want my plugin to execute a interactive process in the console as if other language plugin works!
|
|
|
Powered by
FUDForum. Page generated in 0.02790 seconds