String[] shell = new String[] { "/bin/sh", "-c", "cd /root/gbase;./dispserver -p 6667 &" };
Process ps = Runtime.getRuntime().exec(shell);
ps.waitFor();
String[] shell = new String[] { "/bin/sh", "-c", "cd /root/gbase;./dispserver -p 6667 &" };
Process ps = Runtime.getRuntime().exec(shell);
ps.waitFor();