Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Trouble in Launching a process within "launchConfigurationTypes"
Trouble in Launching a process within "launchConfigurationTypes" [message #330257] Wed, 23 July 2008 13:31
cooper is currently offline cooperFriend
Messages: 2
Registered: July 2009
Junior Member
I'm studying writting plugins for eclipse. The trouble is the output of
the process I invoked does not appear in the Console until the process
outputs a certain amount of bytes. I hope the Console does what a command
line does.
My delegate's launch is as follows:
public void launch(ILaunchConfiguration configuration, String mode,
ILaunch launch, IProgressMonitor monitor) throws CoreException {
Process p = DebugPlugin.exec(new String[]{"python" , "a.py"} , new
File("C:/"));
DebugPlugin.newProcess(launch, p, "My Process");
}

a.py:
import sys
i = 0
while i < 4096:
print "a.py"
i += 1
sys.stdin.readline()

Did I missed something? Or what I wrote is totally wrong?

Thanks in advance!
Previous Topic:accessing preferences of another plugin
Next Topic:404 page not found during eclipse software update
Goto Forum:
  


Current Time: Fri Dec 27 03:20:38 GMT 2024

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

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

Back to the top