mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
* fix up folder structure * update docs * fix imports * fix imports * fix imoprt * fix imports * fix imports * fix imports * fix test import * fix tests * fix main import
18 lines
275 B
Python
18 lines
275 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class Process(ABC):
|
|
@property
|
|
@abstractmethod
|
|
def pid(self) -> int:
|
|
pass
|
|
|
|
@property
|
|
@abstractmethod
|
|
def command(self) -> str:
|
|
pass
|
|
|
|
@abstractmethod
|
|
def read_logs(self) -> str:
|
|
pass
|