We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8230f67 commit 1471e6bCopy full SHA for 1471e6b
OMPython/__init__.py
@@ -392,7 +392,7 @@ def __del__(self):
392
self._omc_process.wait(timeout=2.0)
393
except Exception:
394
if self._omc_process:
395
- print("OMC did not exit after being sent the quit() command; killing the process with pid={self._omc_process.pid}")
+ logger.warning("OMC did not exit after being sent the quit() command; killing the process with pid=%s", self._omc_process.pid)
396
self._omc_process.kill()
397
self._omc_process.wait()
398
0 commit comments