Python: separate api and impl in ExecService

GitOrigin-RevId: b390c2c626fe14fc576da34de5b6ecd360bf6fd5
This commit is contained in:
Ilya.Kazakevich
2025-05-09 04:12:06 +00:00
committed by intellij-monorepo-bot
parent ad39be4f1a
commit 924a192984
4 changed files with 35 additions and 21 deletions
@@ -60,7 +60,7 @@ class HatchRuntime(
}
internal suspend fun <T> executeInteractive(vararg arguments: String, processSemiInteractiveFun: ProcessSemiInteractiveFun<T>): Result<T, ExecError> {
return execService.executeInteractive(hatchBinary, arguments.toList(), execOptions, ProcessSemiInteractiveHandler(processSemiInteractiveFun))
return execService.executeInteractive(hatchBinary, arguments.toList(), execOptions, processSemiInteractiveHandler(processSemiInteractiveFun))
}
internal suspend fun resolvePythonVirtualEnvironment(pythonHomePath: PythonHomePath): PyResult<PythonVirtualEnvironment> {