Class StreamGobbler

  • All Implemented Interfaces:
    Runnable

    public class StreamGobbler
    extends Thread
    When Runtime.exec() won't. http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    • Constructor Detail

      • StreamGobbler

        public StreamGobbler​(InputStream is,
                             org.slf4j.Logger log)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread