I have a macOS Web app which runs a shell command every two hours to check if a SMTP server is alive. The command is simple, just sending the ‘QUIT’ command to the SMTP server to see if it replies as expected.
It’s been running now for about 13 days, every two hours. Zero problems.
Update: 15 days later (with the script running every 2 hours) e.g. 180 more invocations, and this error has not returned. This is running in a stand-alone webApp created with Xojo 2024R4.2, under a VM on macOS 14.6.1.
I am presuming you mean that 14.6.1 is the guest OS. It’s tricky to talk about something that “sometimes” fails (and now you indicate that it seems to be behaving again.) Still, on a desktop project, I resolved a shell problem (on Sequoia) by defining the shell backend as zsh. Below Catalina I use the default bash. And that seems to work on everything in between.