BogusException wrote:
Thanks for taking the time to reply, you've given me a lot that I can use there. As you suspected the prompt text is not the last line I receive, its the last but 1 and the actual prompt is an empty string. But thats fine as I just scan through the last few entries to find it. I guess my issue is with my solution its looking for the response of the command without the capability of issuing further parameters. But I shall solider on with your suggestions!
@Festive,Ah Java :) she was my first. I completely agree, use the right tool for the job!
[Yes, I write in both, and Java, and Perl, and... so no nasty comments; Just using the right tool for the job]
Thanks for taking the time to reply, you've given me a lot that I can use there. As you suspected the prompt text is not the last line I receive, its the last but 1 and the actual prompt is an empty string. But thats fine as I just scan through the last few entries to find it. I guess my issue is with my solution its looking for the response of the command without the capability of issuing further parameters. But I shall solider on with your suggestions!