Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Dealing with "prompts"

$
0
0
BogusException wrote:
@Festive,

[Yes, I write in both, and Java, and Perl, and... so no nasty comments; Just using the right tool for the job]
Ah Java :) she was my first. I completely agree, use 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!

Viewing all articles
Browse latest Browse all 1729

Trending Articles