Class SubProcessKernel


  • public class SubProcessKernel
    extends java.lang.Object
    This is the process kernel which deals with exec of the subprocess. It also deals with all I/O.
    • Constructor Detail

      • SubProcessKernel

        public SubProcessKernel​(SubProcessConfiguration options,
                                java.lang.String binaryName)
        Creates the SubProcess Kernel ready for execution. Will deal with all input and outputs to the SubProcess
        Parameters:
        options -
        binaryName -
    • Method Detail

      • exec

        public java.util.List<java.lang.String> exec​(SubProcessCommandLineArgs commands)
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • execBinaryResult

        public byte[] execBinaryResult​(SubProcessCommandLineArgs commands)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception