Class CygwinShell


  • public class CygwinShell
    extends Shell
    Cygwin shell.
    Author:
    Nils Geilen, Matthias Thimm
    • Method Summary

      Modifier and Type Method Description
      java.lang.String run​(java.lang.String cmd)
      runs command
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • run

        public java.lang.String run​(java.lang.String cmd)
                             throws java.lang.InterruptedException,
                                    java.io.IOException
        Description copied from class: Shell
        runs command
        Specified by:
        run in class Shell
        Parameters:
        cmd - the command to be run
        Returns:
        the terminal output
        Throws:
        java.lang.InterruptedException - if some interruption occurred.
        java.io.IOException - if some IO issue occurred.