Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Update ctkDICOMTester to always kill "storescp" process on destr…
…uction Since the DCMTK executable do not seem to configure a termination handler on windows (using `SetConsoleCtrlHandler()`) or on Unix (using `sigaction()`), we speed up testing by simply killing the process. > On Windows, terminate() posts a WM_CLOSE message to all top-level > windows of the process and then to the main thread of the process > itself. On Unix and macOS the SIGTERM signal is sent. > > Console applications on Windows that do not run an event loop, or whose > event loop does not handle the WM_CLOSE message, can only be terminated > by calling kill(). Source: https://doc.qt.io/qt-5/qprocess.html#terminate
- Loading branch information