in reply to Telnet extract output

I am facing the same problem where first commands output goes to second command .Ideally second should not even start runnning before first gets completed to give the prompt back.