You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ShellStream Expect method currently supports a timeout as follows:
publicstringExpect(Regexregex,TimeSpantimeout)
I believe that when standard output is detected, examining it is a synchronous operation. Consequently, if the standard output consists of thousands of lines then you have to wait for as long as it takes and there is no way to abort:
I am currently using Expect against a process which can potentially emit thousands of lines to standard output. What I would like is a way to abort Expect if no match is found within a specified period of time.
I am not a C# programmer but am more than happy to conduct some testing and build the project from source if anyone can suggest any changes to make this feature request possible.
The text was updated successfully, but these errors were encountered:
The ShellStream Expect method currently supports a timeout as follows:
I believe that when standard output is detected, examining it is a synchronous operation. Consequently, if the standard output consists of thousands of lines then you have to wait for as long as it takes and there is no way to abort:
I am currently using
Expect
against a process which can potentially emit thousands of lines to standard output. What I would like is a way to abortExpect
if no match is found within a specified period of time.I am not a C# programmer but am more than happy to conduct some testing and build the project from source if anyone can suggest any changes to make this feature request possible.
The text was updated successfully, but these errors were encountered: