| 
| Trouble in Launching a process within "launchConfigurationTypes" [message #330257] | Wed, 23 July 2008 09:31 |  | 
| Eclipse User  |  |  |  |  | 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!
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.03972 seconds