/// import * as cp from "child_process"; import { IDepsLogger } from "./checker"; export declare namespace cpUtils { function executeCommand(workingDirectory: string | undefined, logger: IDepsLogger | undefined, options: cp.SpawnOptions | undefined, command: string, ...args: string[]): Promise; function tryExecuteCommand(workingDirectory: string | undefined, logger: IDepsLogger | undefined, additionalOptions: cp.SpawnOptions | undefined, command: string, ...args: string[]): Promise; interface ICommandResult { code: number; cmdOutput: string; cmdOutputIncludingStderr: string; formattedArgs: string; } /** * Ensures spaces and special characters (most notably $) are preserved */ function wrapArgInQuotes(arg: string): string; /** * Run sudo command and return stdout content. * Note: the return value may contains EOL. */ function execSudo(logger: IDepsLogger, command: string): Promise; } //# sourceMappingURL=cpUtils.d.ts.map