code: public static ProcessAdapter newProcessAdapter(Process process) {
      return newProcessAdapter(process, newProcessContext(process).ranBy(SystemUtils.USERNAME)
        .ranIn(FileSystemUtils.WORKING_DIRECTORY).usingEnvironmentVariables());
    }
docs: Factory method used to construct an instance of {@link ProcessAdapter} initialized with the given {@link Process}.
  
  @param process {@link Process} object to adapt/wrap with an instance of {@link ProcessAdapter}.
  @return a newly constructed {@link ProcessAdapter} adapting/wrapping the given {@link Process}.
  @throws IllegalArgumentException if {@link Process} is {@literal null}.
  @see #newProcessAdapter(Process, ProcessContext)
  @see java.lang.Process