Skip to content

Commit cfac6f6

Browse files
committed
[OMCSessionZMQ] add missing execute()
1 parent bea8f84 commit cfac6f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

OMPython/OMCSession.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,9 @@ def run_model_executable(cmd_run_data: OMCSessionRunData) -> int:
601601
"""
602602
return OMCProcess.run_model_executable(cmd_run_data=cmd_run_data)
603603

604+
def execute(self, command: str):
605+
return self.omc_process.execute(command=command)
606+
604607
def sendExpression(self, command: str, parsed: bool = True) -> Any:
605608
"""
606609
Send an expression to the OMC server and return the result.

0 commit comments

Comments
 (0)