Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » run a process in eclipse plugin console(how to run a process in plugin console to take input for process interactively)
run a process in eclipse plugin console [message #694917] Sun, 10 July 2011 08:29
Hari Krishnan is currently offline Hari KrishnanFriend
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!

Previous Topic:jobs are not executing on a pluging inside RCP
Next Topic:How do I install documentation for new API?
Goto Forum:

Current Time: Wed Apr 25 14:51:48 GMT 2018

Powered by FUDForum. Page generated in 0.01418 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software