Interface ProcessListener

    • Method Detail

      • onStandardOutput

        void onStandardOutput​(@NotNull
                              java.lang.String text)
        process standard output
        Parameters:
        text - process stdout output text
      • onErrorOutput

        void onErrorOutput​(@NotNull
                           java.lang.String text)
        process error output
        Parameters:
        text - process stderr output text
      • processStarted

        void processStarted​(@NotNull
                            java.lang.String programCommandLine,
                            @NotNull
                            java.io.File workingDirectory)
        Process was started.*
        Parameters:
        programCommandLine - program commandline to log. The actual commandline was collected as list of arguments and sent to java api as the list.
        workingDirectory - process working directory
      • processFinished

        void processFinished​(int exitCode)
        Process finished, terminated or failed to start. Called only if processStarted(String, java.io.File) was called before
        Parameters:
        exitCode - resulting exit code of the process