( executor: CommandExecutor, startPid?: string, )
| 19 | } |
| 20 | |
| 21 | export async function detectXcodeRuntime( |
| 22 | executor: CommandExecutor, |
| 23 | startPid?: string, |
| 24 | ): Promise<XcodeRuntimeDetection> { |
| 25 | const processTreeResult = await getProcessTree(executor, startPid); |
| 26 | return { |
| 27 | runningUnderXcode: isRunningUnderXcode(processTreeResult.entries), |
| 28 | processTree: processTreeResult.entries, |
| 29 | error: processTreeResult.error, |
| 30 | }; |
| 31 | } |
no test coverage detected