Hi. I need to execute a command with timeout. In a TimerTask Session.disconnect() is called. I expect some exception in main thread from ChannelExec.getInputStream().read(), but it simply returns EOF. Same when I close connection in TCPView.
How to distinguish disconnect and empty result? By getExitStatus() == -1 ? ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users