Skip to main content



      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 09:31
Eclipse UserFriend
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: Thu May 01 11:45:04 EDT 2025

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

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

Back to the top