Jun-05-2024, 08:47 AM
(This post was last modified: Jun-05-2024, 08:47 AM by Gribouillis.)
In Linux I know actual solutions with selectors, but they won't work in Windows because I don't think selectors work on stdin in Windows.
If your script was a server, you could interrupt it by connecting to it. This is multiplatform.
If your script was a server, you could interrupt it by connecting to it. This is multiplatform.
« We can solve any problem by introducing an extra level of indirection »