vm.d.ts 573 B

12345678910
  1. /// <reference types="node" />
  2. import { DebugLogger, ExtraSpawnOptions } from "builder-util";
  3. import { ExecFileOptions, SpawnOptions } from "child_process";
  4. export declare class VmManager {
  5. get 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. }
  10. export declare function getWindowsVm(debugLogger: DebugLogger): Promise<VmManager>;