MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / getExecuteCEWrapperOptions

Function getExecuteCEWrapperOptions

lib/exec.ts:355–357  ·  view source on GitHub ↗
(command: string, args: string[], options: ExecutionOptions)

Source from the content-addressed store, hash-verified

353}
354
355export function getExecuteCEWrapperOptions(command: string, args: string[], options: ExecutionOptions): NsJailOptions {
356 return getCeWrapperOptions('execute', command, args, options);
357}
358
359export function hasNsjailPermissionsIssue(result: UnprocessedExecResult): boolean {
360 return result.stderr.includes(c_nsjail_permissions_error) || (result.stderr === '' && result.code === 255);

Callers 1

executeCEWrapperFunction · 0.85

Calls 1

getCeWrapperOptionsFunction · 0.85

Tested by

no test coverage detected