Package jnr.posix

Class JavaLibCHelper.PosixExec

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private int parseResult​(int result)  
      int runAndWait​(java.io.OutputStream output, java.io.OutputStream error, java.lang.String... args)  
      int runAndWait​(java.io.OutputStream output, java.lang.String... args)  
      int runAndWait​(java.lang.String... args)  
      • Methods inherited from class jnr.posix.util.ExecIt

        run
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • parseResult

        private int parseResult​(int result)
      • runAndWait

        public int runAndWait​(java.lang.String... args)
                       throws java.io.IOException,
                              java.lang.InterruptedException
        Overrides:
        runAndWait in class ExecIt
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • runAndWait

        public int runAndWait​(java.io.OutputStream output,
                              java.lang.String... args)
                       throws java.io.IOException,
                              java.lang.InterruptedException
        Overrides:
        runAndWait in class ExecIt
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • runAndWait

        public int runAndWait​(java.io.OutputStream output,
                              java.io.OutputStream error,
                              java.lang.String... args)
                       throws java.io.IOException,
                              java.lang.InterruptedException
        Overrides:
        runAndWait in class ExecIt
        Throws:
        java.io.IOException
        java.lang.InterruptedException