Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

execute confirmable commands

Mike
2013-10-07
2013-10-07
  • Mike
    Mike
    2013-10-07

    Is there any way to use Jsch to execute command that requires the confirmation, like the following:

    reboot
    Please confirm (y/n)? y

    Didn't find either any answer on this or the documentation on how to do it.