UNPKG

614 BTypeScriptView Raw
1/// <reference types="node" />
2import * as cp from 'child_process';
3/**
4 * `@theia/core` service with some process-related utilities.
5 */
6export declare class ProcessUtils {
7 terminateProcessTree(ppid: number): void;
8 protected winTerminateProcessTree(ppid: number): void;
9 protected unixTerminateProcessTree(ppid: number): void;
10 protected unixGetPGID(pid: number): number;
11 protected unixGetChildrenRecursive(ppid: number): Set<number>;
12 protected spawnSync(file: string, argv: string[], options?: cp.SpawnSyncOptions): cp.SpawnSyncReturns<string>;
13}
14//# sourceMappingURL=process-utils.d.ts.map
\No newline at end of file