[JSch-users] Multiple commands and environment
Status: Alpha
Brought to you by:
ymnk
From: matthieu n. <mn...@gm...> - 2005-06-27 06:40:22
|
To continue the subjet of Andrzej Taramina I have the same problem : sending multiple commands on the remote host keeping the environnement. Atsuhiko Yamanaka wrote in response : "You can use ChannelShell." But in the example script of shell, the ChannelShell is waiting for System.in to receive commands. >> channel.setInputStream(System.in); What should we do to send commands in other way than System.in which is wainting for keybord entries ? To send commands by String vrariables - for examples - from another part of the program. Thanks for your answer and your great API. Mat |