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
Reported by andre.ho...@gmail.com, Apr 3, 2012
I'm trying to get the text seen since the last match (or the beginning). From experiments, I believe that this can be done as follows:
child.expect(..., new Closure(){
public void run(ExpectState es) throws Exception
{
System.out.println("GOT " + es.getBuffer());
}
});
If that's the recommended way, could you please add a few words to the docstring
of ExpectState.getBuffer() ? (people who never used Tcl don't necessarily know what expect_out(..) is).
I am facing challenges to get the text for the current unmatched output. I mean how to get the all the content from last command. Also how to clear the expect buffer in java?
The text was updated successfully, but these errors were encountered:
Reported by andre.ho...@gmail.com, Apr 3, 2012
I'm trying to get the text seen since the last match (or the beginning). From experiments, I believe that this can be done as follows:
If that's the recommended way, could you please add a few words to the docstring
of ExpectState.getBuffer() ? (people who never used Tcl don't necessarily know what expect_out(..) is).
Nov 1, 2012 #1 mpa...@ditechnetworks.com
Hi Andre,
I am facing challenges to get the text for the current unmatched output. I mean how to get the all the content from last command. Also how to clear the expect buffer in java?
The text was updated successfully, but these errors were encountered: