我需要用ExpectJ来扩展它,但是我想不出怎么做。我成功地下载了expectj-2.0.7.jar,expectj-2.0.7-sources.jar和expectj-2.0.7-javadoc.jar文件,并使Jython和Java本身也可以访问这些文件import expectj
ex = expectj.ExpectJ() # I cannot use the second form of thetargetshel
which is not being handled (with the custom message)但我仍然得到以下输出-
Exception in thread "ExpectJ Stream Piper" java.nio.channels.IllegalBlockingModeExceptionsun.nio.ch.ChannelInputStream.read(Chann