|Console Output Does Not Appear [message #1066024]
||Sat, 29 June 2013 03:47
| Mark Murphy
Registered: June 2013
Location: Cincinnati, OH
Fresh copy of Eclipse 4.2.2 with Subversion, Mylin, and PDT installed from update site.|
I set up an external tool that interacts with the console, but the output does not appear until after a significant portion of the job is run, even though the console session successfully asks for and receives input. I happen to know what that input should be, so I typed it, just to see what happened, and when I pressed enter, the prompt, and the results displayed in the console. It is like the output is not sent to the console until a certain amount has been written, and not even an input operation will cause it to display. Here is an example console session:
Yii Migration Tool v1.0 (based on Yii v1.1.13)
Total 2 new migrations to be applied:
Apply the above migrations? (yes|no) [no]:*** applying m130412_132354_Main
> create table sys_table ... done (time: 0.035s)
> refresh table sys_table schema cache ... done (time: 0.032s)
> create table sys_table_detail ... done (time: 0.044s)
> refresh table sys_table_detail schema cache ... done (time: 0.013s)
> create table sys_country ... done (time: 0.074s)
> refresh table sys_country schema cache ... done (time: 0.021s)
> create table sys_state ...
There is more, but it looks just like the last few lines. The thing to notice is that 'yes' above is what I typed into the console, then pressed enter. The prompt does not appear until after I type my response. The lines immediately following 'yes' up to and including '[no]:' are the prompt. Note that the newline that normally is provided by the user pressing enter after responding to the prompt is not there, and the result output immediately follows '[no]:' beginning with '***'.
Has anyone else experienced this? The language writing to the console is PHP if that matters. does anyone know of a fix for this behavior?
Powered by FUDForum
. Page generated in 0.02735 seconds