Hi guys,
My aplogies if this has already been picked up. I did a quick search but was unable to find any other issues related.
There is a slight issue with ShellStream.sh:323. The method takes a timespan parameter but is not passing it on and causing an unexpected hang.
I changed:
public string Expect(string text, TimeSpan timeout)
{
return this.Expect(new Regex(Regex.Escape(text)));
}
To
public string Expect(string text, TimeSpan timeout)
{
return this.Expect(new Regex(Regex.Escape(text)), timeout);
}
Everything is working as expected.
Kind regards,
Justin.
Comments: ** Comment from web user: olegkap **
My aplogies if this has already been picked up. I did a quick search but was unable to find any other issues related.
There is a slight issue with ShellStream.sh:323. The method takes a timespan parameter but is not passing it on and causing an unexpected hang.
I changed:
public string Expect(string text, TimeSpan timeout)
{
return this.Expect(new Regex(Regex.Escape(text)));
}
To
public string Expect(string text, TimeSpan timeout)
{
return this.Expect(new Regex(Regex.Escape(text)), timeout);
}
Everything is working as expected.
Kind regards,
Justin.
Comments: ** Comment from web user: olegkap **
Hi,
Thanks for providing a fix.
I just committed a changes.
Thanks,
Oleg