macOS 12 – interactive shell writeLine not working


I am having a desktop app that’s using interactive shell to rsync some files to a server.
I’m using writeLine to set the password for rsync.
Works fine with macOS 10.13 and 10.14. Monterey (macOS 12) won’t “type” the password.
Any suggestion?
I’m building the app with Xojo 2021 Rel. 2.1



Issue solved with workaround.