Class CygwinShell


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

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String binaryLocation  
    • Constructor Summary

      Constructors 
      Constructor Description
      CygwinShell​(java.lang.String binaryLocation)  
    • Method Summary

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • binaryLocation

        java.lang.String binaryLocation
    • Constructor Detail

      • CygwinShell

        CygwinShell​(java.lang.String binaryLocation)
    • 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.