mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-15 21:32:26 +01:00
The host side of the agent spoke a protocol that is the same for every platform, and lived in the Windows port. Move it to komorebi_vm/agent.py, which the Windows module re-exports so that its imports stay as they are, and give it the calls the protocol gained: spawn with an environment and an output file, `status` of a spawned program and `send` to its standard input.
6 lines
194 B
Python
6 lines
194 B
Python
"""The host side of the agent is the same for every platform: `komorebi_vm.agent`."""
|
|
|
|
from komorebi_vm.agent import Agent, AgentError, AgentLost
|
|
|
|
__all__ = ["Agent", "AgentError", "AgentLost"]
|