Interface ProcessExecutor

  • All Known Implementing Classes:
    DefaultProcessExecutor

    public interface ProcessExecutor
    OS process executor.
    • Method Detail

      • getStdOutInputStream

        java.io.InputStream getStdOutInputStream()
        Get process standard output stream.
        Returns:
        Returns InputStream provides process standard output
      • getStdErrInputStream

        java.io.InputStream getStdErrInputStream()
        Get process standard error stream.
        Returns:
        Returns InputStream provides process standard error
      • execute

        OperationSystemProcess execute​(java.lang.Object... commandAndArguments)
        Execute command with arguments asynchronously. If the command is already specified in process configuration then command arguments will be extended with given parameters.
        Parameters:
        commandAndArguments - command and arguments
        Returns:
        Started OS process