IOweb/node_modules/process-ancestry/dist/index.d.ts
2026-07-03 15:07:38 -05:00

12 lines
299 B
TypeScript

interface ProcessInfo {
/** Process ID */
pid: number;
/** Parent Process ID */
ppid: number;
/** Command line or executable name */
command?: string;
}
declare function getProcessAncestry(pid?: number): Array<ProcessInfo>;
export { type ProcessInfo, getProcessAncestry };