@vscode/windows-process-tree
Version:
Fetch a Windows process tree fast
15 lines (10 loc) • 670 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { promisify } from 'util';
import * as wpc from './index';
export { ProcessDataFlag } from './index';
export const getProcessTree = promisify(wpc.getProcessTree);
export const getProcessList = promisify(wpc.getProcessList);
export const getProcessCpuUsage = promisify(wpc.getProcessCpuUsage);