All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zeroturnaround.process.SolarisProcess Maven / Gradle / Ivy

The newest version!
package org.zeroturnaround.process;

import org.zeroturnaround.exec.InvalidExitValueException;

/**
 * Process implementation for Solaris.
 */
public class SolarisProcess extends UnixProcess {

  private static final int EXIT_CODE_NO_SUCH_PROCESS = 2;

  public SolarisProcess(int pid) {
    super(pid);
  }

  @Override
  protected boolean isNoSuchProcess(InvalidExitValueException e) {
    return e.getExitValue() == EXIT_CODE_NO_SUCH_PROCESS;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy