We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5df787d commit 68845aeCopy full SHA for 68845ae
1 file changed
OMPython/OMCSession.py
@@ -315,10 +315,6 @@ def execute(self, command: str):
315
return self.sendExpression(command, parsed=False)
316
317
def sendExpression(self, command: str, parsed: bool = True):
318
- p = self.omc_process.poll() # check if process is running
319
- if p is not None:
320
- raise OMCSessionException("Process Exited, No connection with OMC. Create a new instance of OMCSessionZMQ!")
321
-
322
if self.omc_zmq is None:
323
raise OMCSessionException("No OMC running. Create a new instance of OMCSessionZMQ!")
324
0 commit comments