Interface ICommandLineProgram

    • Method Detail

      • execute

        int execute​(java.lang.String[] args,
                    java.lang.String workingDirectory,
                    java.io.PrintStream stdout,
                    java.io.PrintStream stderr)
        Executes a command line program.
        Parameters:
        args - the program arguments
        workingDirectory - the working directory
        stdout - the stdout stream
        stderr - the stderr stream
        Returns:
        the command line return code
      • prepare

        ICommandLineProgram prepare()
        Prepares for execution.
        Returns:
        the instance to be executed, may be this or a differnt instance