Running linux commands on java through JSch
问题 I'm establishing a ssh connection through JSch on java and everything seemed to be working fine, until I tried to run this .sh file. The shell script's name is repoUpdate.sh and it's very simple: echo ' ****Repository update****' echo ' Location: /home/cissys/repo/' echo -e ' Command: svn update /home/cissys/repo/2.3.0' svn update /home/cissys/repo/2.3.0 This is the output I get directly on the linux console with the proper response of the command: [cissys@dsatelnx5 ~]$ repoUpdate.sh ***