UNPKG

576 BTypeScriptView Raw
1/// <reference types="node" />
2import { DebugLogger, ExtraSpawnOptions } from "builder-util";
3import { ExecFileOptions, SpawnOptions } from "child_process";
4export declare class VmManager {
5 readonly pathSep: string;
6 exec(file: string, args: Array<string>, options?: ExecFileOptions, isLogOutIfDebug?: boolean): Promise<string>;
7 spawn(file: string, args: Array<string>, options?: SpawnOptions, extraOptions?: ExtraSpawnOptions): Promise<any>;
8 toVmFile(file: string): string;
9}
10export declare function getWindowsVm(debugLogger: DebugLogger): Promise<VmManager>;