We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f838239 commit cbccdc9Copy full SHA for cbccdc9
1 file changed
OMPython/__init__.py
@@ -393,7 +393,7 @@ def __del__(self):
393
self._omc_process.wait(timeout=2.0)
394
except Exception:
395
if self._omc_process:
396
- 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)
397
self._omc_process.kill()
398
self._omc_process.wait()
399
0 commit comments