thedesk/app/node_modules/app-builder-lib/out/vm/vm.d.ts
2019-09-12 23:38:13 +09:00

11 lines
576 B
TypeScript

/// <reference types="node" />
import { DebugLogger, ExtraSpawnOptions } from "builder-util";
import { ExecFileOptions, SpawnOptions } from "child_process";
export declare class VmManager {
readonly pathSep: string;
exec(file: string, args: Array<string>, options?: ExecFileOptions, isLogOutIfDebug?: boolean): Promise<string>;
spawn(file: string, args: Array<string>, options?: SpawnOptions, extraOptions?: ExtraSpawnOptions): Promise<any>;
toVmFile(file: string): string;
}
export declare function getWindowsVm(debugLogger: DebugLogger): Promise<VmManager>;