Hello jsch-users. For an application I'm developing using JSch, I find myself needing additional File Descriptors to use for Input and Output. I have a ChannelExec that executes an application, and its stdin, stdout and stderr are dedicated to this application. I would need other FDs for additional communications with this channel; simply calling getInputStream() on the Channel is of no use (it renders useless the previously acquired InputStream), and while I tried getExtInputStream it didn't seem to work the way I wanted (tested using a ChannelExec that executes a Python script that prints out the contents of /proc/PID_of_script/fd). Is there any way to get these additional Streams?
Any feedback and opinions on this is highly appreciated, since I'm still in a brainstorming phase of development and it is quite possible I'm getting tunnel-vision on the wrong way to tackle this :) P.S.: I'll be away for a week for summer vacation, I'll respond ASAP. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users