Is it possible to call a tezos-client binary from within a programming language? I have been trying to achieve this, but without success. The very same command used through the command line works, but when I call it from a script, it fails.
I've seen some advice to write the command inside a shell script, like test.sh. I did this and the script only works in the command line. If I call it from within a program, it fails too.
Is this a security measure of tezos-client? Or is there a correct way to do it?
This is the command I want to call in my software:
tezos-client transfer 1 from myAlias to tz1.... --fee 0.05 --dry-run