Quote Originally Posted by wysota View Post
That's why I'm saying the other process is not flushing its stdout descriptor. Your data gets stuck in a pipe buffer between the two processes. If you are the author of "the other app", simply write a after the data or call (f)flush() on stdout.
thanks for reply ..
i try the both ((f)flush() ,newline )but still its giving the same ... when the process gets finished and closed only its giving the stdout.
i cant get any thing .........