Esempio n. 1
0
 public static void main(String[] args) {
   CommandExecutor executor = new CommandExecutorProxy("Asia", "wrong_pwd");
   try {
     executor.runCommand("ls -ltr");
     executor.runCommand(" rm -rf abc.pdf");
   } catch (Exception e) {
     System.out.println("Exception Message::" + e.getMessage());
   }
 }