|
|
@ -105,8 +105,10 @@ public class TryIt {
|
|
|
|
Process startShell = startShellProcessBuilder.start();
|
|
|
|
Process startShell = startShellProcessBuilder.start();
|
|
|
|
System.out.println("Connected to device shell");
|
|
|
|
System.out.println("Connected to device shell");
|
|
|
|
startShell.waitFor();
|
|
|
|
startShell.waitFor();
|
|
|
|
} catch (IOException | InterruptedException ignored) {
|
|
|
|
} catch (IOException e) {
|
|
|
|
// script can continue without this process
|
|
|
|
tryIt.handleException("Unable to start the shell", e);
|
|
|
|
|
|
|
|
} catch (InterruptedException ignored) {
|
|
|
|
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|
|
|
|
System.out.println("\nGood Bye!");
|
|
|
|
System.out.println("\nGood Bye!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|