Class StartedProcess

java.lang.Object
org.zeroturnaround.exec.StartedProcess

public class StartedProcess extends Object
Represents a process that has started. It may or may not have finished.
  • Field Details

    • process

      private final Process process
      The sub process started.
    • future

      private final Future<ProcessResult> future
      The asynchronous result of the started process.
  • Constructor Details

  • Method Details

    • getProcess

      public Process getProcess()
      Returns:
      the started process.
    • getFuture

      public Future<ProcessResult> getFuture()
      Returns:
      asynchronous result of the started process.
    • process

      public Process process()
      Deprecated.
      use getProcess() instead.
      Returns:
      the started process.
    • future

      public Future<ProcessResult> future()
      Deprecated.
      use getFuture() instead.
      Returns:
      asynchronous result of the started process.