batch-cluster
    Preparing search index...

    Function pidExists

    • Parameters

      • pid: undefined | number

        process id. Required.

      • OptionalkillFn: (pid: number, signal?: string | number) => boolean

        optional kill function, defaults to process.kill

      Returns boolean

      boolean true if the given process id is in the local process table. The PID may be paused or a zombie, though.