Polyman Documentation - v3.1.0
    Preparing search index...
    • Reads the process group and the terminal foreground group from the text of /proc/self/stat or from ps -o pgid= -o tpgid=.

      Parameters

      • text: string

        The stat line or the ps output

      Returns boolean | null

      True when the process is in the foreground