mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
Fix LocalRuntime to properly handle existing subprocesses (#8821)
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
@@ -110,6 +110,9 @@ class CLIRuntime(Runtime):
|
||||
)
|
||||
logger.info(f'Created temporary workspace at {self._workspace_path}')
|
||||
|
||||
# Runtime tests rely on this being set correctly.
|
||||
self.config.workspace_mount_path_in_sandbox = self._workspace_path
|
||||
|
||||
# Initialize runtime state
|
||||
self._runtime_initialized = False
|
||||
self.file_editor = OHEditor(workspace_root=self._workspace_path)
|
||||
|
||||
Reference in New Issue
Block a user