(
executable: string,
executeParameters: ExecutableExecutionOptions,
homeDir: string,
)
| 2280 | } |
| 2281 | |
| 2282 | async runExecutable( |
| 2283 | executable: string, |
| 2284 | executeParameters: ExecutableExecutionOptions, |
| 2285 | homeDir: string, |
| 2286 | ): Promise<BasicExecutionResult> { |
| 2287 | const execOptionsCopy: ExecutableExecutionOptions = JSON.parse( |
| 2288 | JSON.stringify(executeParameters), |
| 2289 | ) as ExecutableExecutionOptions; |
| 2290 | |
| 2291 | if (this.compiler.executionWrapper) { |
| 2292 | execOptionsCopy.args = [...this.compiler.executionWrapperArgs, executable, ...execOptionsCopy.args]; |
| 2293 | executable = this.compiler.executionWrapper; |
| 2294 | } |
| 2295 | |
| 2296 | const execEnv: IExecutionEnvironment = new this.executionEnvironmentClass(this.env); |
| 2297 | return execEnv.execBinary(executable, execOptionsCopy, homeDir); |
| 2298 | } |
| 2299 | |
| 2300 | protected fixExecuteParametersForInterpreting( |
| 2301 | executeParameters: ExecutableExecutionOptions, |
no test coverage detected