jsch and running “sudo su -”
Using jsch when i run the following cmd 'sudo su -' the program hangs [TestNG] Running: C:\Users\brian.crosby\AppData\Local\Temp\testng-eclipse-952620154\testng-customsuite.xml [root@tbx2-toy-1 ~]# It looks like the "sudo su -" worked becasue the output states "[root@tbx2-toy-1 ~]#" but when i send it another cmd it is unresponsive. heres the code: package com.linux; import java.io.InputStream; import org.testng.annotations.*; import com.jcraft.jsch.*; import com.thoughtworks.selenium.*; public class LinuxConnection extends SeleneseTestBase{ String host = null; private StringBuilder