Class ShellExecutionResult

java.lang.Object
uno.anahata.asi.toolkit.shell.ShellExecutionResult

public class ShellExecutionResult extends Object
Encapsulates the result of a shell command execution. This POJO captures the process metadata, its lifecycle outcome (exit code), and the standard output generated during execution.
Author:
anahata
  • Field Details

    • processToString

      private String processToString
      The string representation of the underlying Process object.
    • processId

      private String processId
      The operating system's process identifier (PID) for the executed command.
    • exitCode

      private int exitCode
      The numeric exit code returned by the process upon completion. Conventionally, 0 indicates success.
    • stdOut

      private String stdOut
      The full text captured from the process's standard output stream.
  • Constructor Details

    • ShellExecutionResult

      public ShellExecutionResult()