-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some problem with sendLine() #63
Comments
Cam you please include a source code snippet? Are you waiting for the prompt after sendLine command? |
`package sshProxy; import static net.sf.expectit.matcher.Matchers.contains; import org.apache.commons.lang3.StringUtils; import net.sf.expectit.Expect; public class ShellUtils {
}` main Class call above "countEmxsAttach" |
Hello
I have some problem with expectit and jsch using expect.sendLine() function
that's error when send
"find . -type f \\( -name \"*.1\" -o -name \"*.2\" \\) | wc -l"
origianl command(no java escape) :
"find . -type f \( -name "*.1" -o -name "*.2" \) | wc -l"
result error:
prompt]find . -type f \( -name "*.1" -name "*.2 prompt]ame "*.1" -name "*.2" <��������������������� \) | wc -l
"<��������������������� "
I use expectit-core-0.9.0.jar and jsch-0.1.55.jar and hpux 11.31 ksh
The text was updated successfully, but these errors were encountered: