Is there any specific reason that appium server does not start with JAVA Process/Process Builder cass
Process rc = Runtime.getRuntime().exec("cmd / && appium");
System.out.println("Runtime.getRuntime().exec done");
InputStream is = rc.getInputStream();
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
String line;
//String adb = new String();
while ((line = br.readLine()) != null) {
if (line.length()>0){
line += br.readLine();
System.out.println("line: " + line);
if (line.contains("Appium REST http interface listener started on 127.0.0.1:4723")) {
System.out.println("Appium Started");
}
}
}