Re: Buffer Size Command Hanging (General questions)

by Jasmine, (5777 days ago) @ mmorton

Hold on, I'll write a sample. Your

while ssh.dataready

is bad because if data arrives slow then this while will fail. You should call

do
a = ssh.receive
...
while prompt_not_found

when there's no data, ssh.receive will wait for more data, and your loop will run as long as prompt arrives.

Kreso

locked

Complete thread: