mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 03:29:45 -06:00
19 lines
628 B
TypeScript
19 lines
628 B
TypeScript
import {ExecutionParams} from '../../types/compilation/compilation.interfaces.js';
|
|
import {
|
|
BasicExecutionResult,
|
|
ExecutableExecutionOptions,
|
|
UnprocessedExecResult,
|
|
} from '../../types/execution/execution.interfaces.js';
|
|
|
|
export interface IExecutionEnvironment {
|
|
downloadExecutablePackage(hash: string): Promise<void>;
|
|
execute(params: ExecutionParams): Promise<UnprocessedExecResult>;
|
|
execBinary(
|
|
executable: string,
|
|
maxSize: number,
|
|
executeParameters: ExecutableExecutionOptions,
|
|
homeDir: string,
|
|
extraConfiguration?: any,
|
|
): Promise<BasicExecutionResult>;
|
|
}
|