Class Shell

  • Direct Known Subclasses:
    CygwinShell, NativeShell

    public abstract class Shell
    extends Object
    Author:
    Nils Geilen Provides several ways to run unix commands on different OSes.
    • Constructor Detail

      • Shell

        public Shell()
    • Method Detail

      • getNativeShell

        public static Shell getNativeShell()
        a wrapper for the os' native shell
        Returns:
        a wrapper for the os' native shell
      • getCygwinShell

        public static Shell getCygwinShell​(String binary)
        a wrapper around the cygwin shell
        Parameters:
        binary - path to bash.exe
        Returns:
        a wrapper for the os' native shell