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 04:29
Hari Krishnan is currently offline 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!

Previous Topic:eclipse hang when exec program
Next Topic:IncrementalProjectBuilder delta - leave it for the next time?
Goto Forum:
  


Current Time: Wed Aug 20 05:03:55 EDT 2014

Powered by FUDForum. Page generated in 0.08549 seconds