I had a piece of code to launch the messages app in a python script which worked for years, but it inexplicably started failing after the update to macOS Catalina 10.15
I was using the subprocess API to run a bash command
subprocess.call(
["/usr/bin/open", "-a", "/Applications/messages.app"])
Previously, this worked fine but now I get the error FSPathMakeRef(/Applications/messages.app) failed with error -43.