Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > IProcessInfo

IProcessInfo interface

Process information sourced from the system. This process info is sourced differently depending on the operating system: - On Windows, this uses powershell.exe and a scriptlet to retrieve process information. The wmic utility that was previously used is no longer present on the latest Windows versions. - On Unix, this uses the ps utility.

Signature:

export interface IProcessInfo 

Properties

Property

Modifiers

Type

Description

childProcessInfos

IProcessInfo[]

The child process infos.

parentProcessInfo

IProcessInfo | undefined

The parent process info.

processId

number

The process ID.

processName

string

The name of the process.