ProcessUtil (Apache Ant API)
Description: declaration: package: org.apache.tools.ant.util, class: ProcessUtil

Package org.apache.tools.ant.util

# Class ProcessUtil

java.lang.Object
org.apache.tools.ant.util.ProcessUtil

public class ProcessUtil extends Object
Process Utilities

Since:
  Ant 1.9.4

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `getProcessId​(String fallback)`
  provide id of the current process
  `static void`
  `main​(String[] args)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getProcessId

    public static String getProcessId​(String fallback)
    provide id of the current process
    Parameters:
      `fallback` - fallback id
    Returns:
      current process id

  - ### main

    public static void main​(String[] args)