MCPcopy Index your code
hub / github.com/compiler-explorer/compiler-explorer / executeWineDirect

Function executeWineDirect

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

Source from the content-addressed store, hash-verified

600}
601
602async function executeWineDirect(command: string, args: string[], options: ExecutionOptions) {
603 options = _.clone(options) || {};
604 options.env = applyWineEnv(options.env || {});
605 args = [command, ...args];
606 await wineInitPromise;
607 return await executeDirect(unwrapString(execProps<string>('wine')), args, options);
608}
609
610async function executeFirejail(command: string, args: string[], options: ExecutionOptions) {
611 options = _.clone(options) || {};

Callers 2

exec.tsFile · 0.85
executeNoneFunction · 0.85

Calls 3

applyWineEnvFunction · 0.85
executeDirectFunction · 0.85
unwrapStringFunction · 0.70

Tested by

no test coverage detected